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

@Controller @RequestMapping("/user") public class UserController extends BaseViewController
  • 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.ApiUnauthorizedException
      de.uniba.minf.core.rest.exception.ApiItemNotFoundException
      IOException
    • 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.ApiUnauthorizedException
      de.uniba.minf.core.rest.exception.ApiItemNotFoundException
      IOException
    • 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.ApiUnauthorizedException
      de.uniba.minf.core.rest.exception.ApiItemNotFoundException
      IOException