Class SecurityController


  • @Controller
    public class SecurityController
    extends java.lang.Object
    The controller that deals with the login page
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String login​(org.springframework.ui.Model model)
      Handles requests to the login page, automatically fills in the login form when running as a client
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecurityController

        public SecurityController()
    • Method Detail

      • login

        @GetMapping("/login")
        public java.lang.String login​(org.springframework.ui.Model model)
        Handles requests to the login page, automatically fills in the login form when running as a client
        Parameters:
        model - holder for model attributes
        Returns:
        the path to the login page