Re: Pretty Faces with Spring Security, using param on the login page

Splash Forums PrettyFaces Users Pretty Faces with Spring Security, using param on the login page Re: Pretty Faces with Spring Security, using param on the login page

#22566

From the documentation:

The AuthenticationEntryPoint will be called if the user requests a secure HTTP resource but they are not authenticated. An appropriate AuthenticationException or AccessDeniedException will be thrown by a security interceptor further down the call stack, triggering the commence method on the entry point. This does the job of presenting the appropriate response to the user so that authentication can begin. The one we’ve used here is LoginUrlAuthenticationEntryPoint, which redirects the request to a different URL (typically a login page). The actual implementation used will depend on the authentication mechanism you want to be used in your application.

See here:

http://static.springsource.org/spring-security/site/docs/3.0.x/reference/core-web-filters.html#auth-entry-point