title: Spring Security no controller for login page
body: <p>New at Spring Security here. I was looking at this link '<a href="https://docs.spring.io/spring-security/site/docs/current/guides/html5/form-javaconfig.html#grant-access-to-remaining-resources" rel="nofollow noreferrer">https://docs.spring.io/spring-security/site/docs/current/guides/html5/form-javaconfig.html#grant-access-to-remaining-resources</a>' and got really stumped at the section <strong>Configuring a login view controller</strong>`.</p>
  
  <p>When I'm creating a typical form, I usually make the html page that, on click, calls a method in my custom @controller, which sends to my logic, etc. </p>
  
  <p>However, in their example, they state that no controller is needed because everything is 'default'. Can someone explain exactly how their login form can 'connect' to their authentication object? It looks like somehow the credentials can magically pass into the Authentication object despite having no controller method.</p>
  
  <p>Thanks!</p>