Class UserController
java.lang.Object
de.unibamberg.minf.core.web.controller.BaseNavigatingController
de.unibamberg.minf.core.web.controller.BaseTranslationController
de.uniba.minf.registry.view.controller.BaseViewController
de.uniba.minf.registry.view.controller.UserController
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
-
Field Summary
Fields inherited from class de.uniba.minf.registry.view.controller.BaseViewController
authInfoHelper, baseUrl, entityDefinitionRepository, entityDefinitionService, entityRepository, vocabularyDefinitionRepositoryFields inherited from class de.unibamberg.minf.core.web.controller.BaseTranslationController
messageSource, objectMapperFields inherited from class de.unibamberg.minf.core.web.controller.BaseNavigatingController
appContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionredirectHome(jakarta.servlet.http.HttpServletResponse response) showProfile(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletResponse response) showTokens(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletResponse response) showUserGroups(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class de.uniba.minf.registry.view.controller.BaseViewController
getDraftCount, getPrimaryEntityDefinitions, getPrimaryEntityDefinitionsOrAll, getSecondaryEntityDefinitions, getSecondaryEntityDefinitionsOrEmpty, getSystemEntityDefinitions, getSystemVocabularyDefinitions, getVocabularyDefinitions, handleRuntimeExceptionMethods inherited from class de.unibamberg.minf.core.web.controller.BaseTranslationController
getActionResult, getJsonErrorList, getTranslationsMethods inherited from class de.unibamberg.minf.core.web.controller.BaseNavigatingController
afterPropertiesSet, getBuildProperties, getLoginUrl, getLogoutUrl, getNavigation, getNuance, getRefreshViews, overrideNavItem, setApplicationContext
-
Constructor Details
-
UserController
public UserController()
-
-
Method Details
-
redirectHome
@GetMapping public String redirectHome(jakarta.servlet.http.HttpServletResponse response) throws IOException - Throws:
IOException
-
showProfile
@GetMapping("/profile") public String showProfile(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletResponse response) throws de.uniba.minf.core.rest.exception.ApiUnauthorizedException, de.uniba.minf.core.rest.exception.ApiItemNotFoundException, IOException - Throws:
de.uniba.minf.core.rest.exception.ApiUnauthorizedExceptionde.uniba.minf.core.rest.exception.ApiItemNotFoundExceptionIOException
-
showTokens
@GetMapping("/tokens") public String showTokens(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletResponse response) throws de.uniba.minf.core.rest.exception.ApiUnauthorizedException, de.uniba.minf.core.rest.exception.ApiItemNotFoundException, IOException - Throws:
de.uniba.minf.core.rest.exception.ApiUnauthorizedExceptionde.uniba.minf.core.rest.exception.ApiItemNotFoundExceptionIOException
-
showUserGroups
@GetMapping("/groups") public String showUserGroups(org.springframework.ui.Model model, jakarta.servlet.http.HttpServletResponse response) throws de.uniba.minf.core.rest.exception.ApiUnauthorizedException, de.uniba.minf.core.rest.exception.ApiItemNotFoundException, IOException - Throws:
de.uniba.minf.core.rest.exception.ApiUnauthorizedExceptionde.uniba.minf.core.rest.exception.ApiItemNotFoundExceptionIOException
-