Jeśli nie korzystasz z przeglądarki tam możesz zobaczyć, co jest generowane.
Dodatkowo ... w metodzie konfiguracyjnej np.
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.authorizeRequests().antMatchers("/wallPage").hasAnyRole("ADMIN", "USER")
.and()
.authorizeRequests().antMatchers("/login", "/resource/**").permitAll()
.and()
.formLogin().loginPage("/login").usernameParameter("username").passwordParameter("password").permitAll()
.loginProcessingUrl("/doLogin")
.successForwardUrl("/postLogin")
.failureUrl("/loginFailed")
.and()
.logout().logoutUrl("/doLogout").logoutSuccessUrl("/logout").permitAll()
.and()
.csrf().disable();
}
tam gdzie jest użyta metoda, wtedy możesz sobie wejść w dokumentacje.
A jeśli chodzi ogólnie o implementacje to przecież SPRING SECURITY
https://github.com/spring-projects/spring-security
to jest projekt open source... wiec jest dostęp