Class SubjectController
- java.lang.Object
 - 
- com.tetsuwantech.atom.web.authentication.SubjectController
 
 
- 
@Controller @RequestMapping(path="/subject") public class SubjectController extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description SubjectController() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringactivate(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)Stringdeactivate(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)Stringdisconnect(ClientRegistration clientRegistration, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)Stringforgot(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)Stringforgot(org.springframework.ui.Model model)Stringmain(String status, org.springframework.ui.Model model)Stringpassword(@Valid UuidModel uuid, org.springframework.validation.BindingResult result, org.springframework.ui.Model model)Stringpassword(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)voidpopulateModel(org.springframework.ui.Model model)Stringsave(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) 
 - 
 
- 
- 
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) 
 - 
 
 -