Class SubjectController


  • @Controller
    @RequestMapping(path="/subject")
    public class SubjectController
    extends Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String activate​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @Valid UuidModel uuid, org.springframework.validation.BindingResult result, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)  
      String deactivate​(javax.servlet.http.HttpServletRequest request, @Valid UuidModel uuid, org.springframework.validation.BindingResult result, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)  
      String disconnect​(ClientRegistration clientRegistration, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)  
      String forgot​(javax.servlet.http.HttpServletRequest request, @Valid UsernameModel username, org.springframework.validation.BindingResult result, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)  
      String forgot​(org.springframework.ui.Model model)  
      String main​(String status, org.springframework.ui.Model model)  
      String password​(@Valid UuidModel uuid, org.springframework.validation.BindingResult result, org.springframework.ui.Model model)  
      String password​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @Valid PasswordModel password, org.springframework.validation.BindingResult passwordResult, @Valid UuidModel uuid, org.springframework.validation.BindingResult uuidResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)  
      void populateModel​(org.springframework.ui.Model model)  
      String save​(javax.servlet.http.HttpServletRequest request, @Valid RegisterModel register, org.springframework.validation.BindingResult result, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)  
    • Constructor Detail

      • SubjectController

        public SubjectController()
    • Method Detail

      • populateModel

        @ModelAttribute
        public void populateModel​(org.springframework.ui.Model model)
      • main

        @GetMapping
        public String main​(@RequestParam(required=false)
                           String status,
                           org.springframework.ui.Model model)
      • forgot

        @GetMapping("/forgot")
        public String forgot​(org.springframework.ui.Model model)
      • forgot

        @PostMapping("/forgot")
        public String forgot​(javax.servlet.http.HttpServletRequest request,
                             @Valid @ModelAttribute(name="username")
                             @Valid UsernameModel username,
                             org.springframework.validation.BindingResult result,
                             org.springframework.ui.Model model,
                             org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
                      throws MalformedURLException
        Throws:
        MalformedURLException
      • password

        @GetMapping("/password")
        public String password​(@Valid @ModelAttribute(name="uuid")
                               @Valid UuidModel uuid,
                               org.springframework.validation.BindingResult result,
                               org.springframework.ui.Model model)
      • password

        @PostMapping("/password")
        public String password​(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               @Valid @ModelAttribute(name="password")
                               @Valid PasswordModel password,
                               org.springframework.validation.BindingResult passwordResult,
                               @Valid @ModelAttribute(name="uuid")
                               @Valid UuidModel uuid,
                               org.springframework.validation.BindingResult uuidResult,
                               org.springframework.ui.Model model,
                               org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • save

        @PostMapping("/save")
        public String save​(javax.servlet.http.HttpServletRequest request,
                           @Valid @ModelAttribute(name="register")
                           @Valid RegisterModel register,
                           org.springframework.validation.BindingResult result,
                           org.springframework.ui.Model model,
                           org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
                    throws MalformedURLException
        Throws:
        MalformedURLException
      • activate

        @GetMapping("/activate")
        public String activate​(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               @Valid @ModelAttribute(name="uuid")
                               @Valid UuidModel uuid,
                               org.springframework.validation.BindingResult result,
                               org.springframework.ui.Model model,
                               org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      • deactivate

        @GetMapping("/deactivate")
        public String deactivate​(javax.servlet.http.HttpServletRequest request,
                                 @Valid @ModelAttribute(name="uuid")
                                 @Valid UuidModel uuid,
                                 org.springframework.validation.BindingResult result,
                                 org.springframework.ui.Model model,
                                 org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
                          throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • disconnect

        @GetMapping("/disconnect")
        public String disconnect​(@RequestParam(name="clientRegistration",defaultValue="google",required=false)
                                 ClientRegistration clientRegistration,
                                 javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response,
                                 org.springframework.ui.Model model)