org.springframework.security.web.authentication

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Natural Language Processing
51.Net
52.Parser
53.PDF
54.Portal
55.Profiler
56.Project Management
57.Report
58.RSS RDF
59.Rule Engine
60.Science
61.Scripting
62.Search Engine
63.Security
64.Sevlet Container
65.Source Control
66.Swing Library
67.Template Engine
68.Test Coverage
69.Testing
70.UML
71.Web Crawler
72.Web Framework
73.Web Mail
74.Web Server
75.Web Services
76.Web Services apache cxf 2.2.6
77.Web Services AXIS2
78.Wiki Engine
79.Workflow Engines
80.XML
81.XML UI
Java Source Code / Java Documentation  » Security » spring security 3.0.1 » org.springframework.security.web.authentication 
org.springframework.security.web.authentication
Authentication processing mechanisms, which respond to the submission of authentication credentials using various protocols (eg BASIC, CAS, form login etc).
Java Source File NameTypeComment
AbstractAuthenticationProcessingFilter.javaClass Abstract processor of browser-based HTTP-based authentication requests.

Authentication Process

The filter requires that you set the authenticationManager property.
AbstractAuthenticationTargetUrlRequestHandler.javaClass Base class containing the logic used by strategies which handle redirection to a URL and are passed an Authentication object as part of the contract.
AbstractProcessingFilter.javaClass Renamed class, retained for backwards compatibility.
AnonymousAuthenticationFilter.javaClass Detects if there is no Authentication object in the SecurityContextHolder , and populates it with one if needed.
AuthenticationFailureHandler.javaInterface Strategy used to handle a failed authentication attempt.

Typical behaviour might be to redirect the user to the authentication page (in the case of a form login) to allow them to try again.

AuthenticationProcessingFilter.javaClass Renamed class, retained for backwards compatibility.
AuthenticationProcessingFilterEntryPoint.javaClass Renamed class, retained for backwards compatibility.
AuthenticationSuccessHandler.javaInterface Strategy used to handle a successful user authentication.

Implementations can do whatever they want but typical behaviour would be to control the navigation to the subsequent destination (using a redirect or a forward).

ExceptionMappingAuthenticationFailureHandler.javaClass Uses the internal map of exceptions types to URLs to determine the destination on authentication failure.
Http403ForbiddenEntryPoint.javaClass

In the pre-authenticated authentication case (unlike CAS, for example) the user will already have been identified through some external mechanism and a secure context established by the time the security-enforcement filter is invoked.

Therefore this class isn't actually responsible for the commencement of authentication, as it is in the case of other providers.

LoginUrlAuthenticationEntryPoint.javaClass Used by the ExceptionTranslationFilter to commence a form login authentication via the UsernamePasswordAuthenticationFilter .
NullRememberMeServices.javaClass
RememberMeServices.javaInterface Implement by a class that is capable of providing a remember-me service.

Spring Security filters (namely org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter and RememberMeAuthenticationFilter will call the methods provided by an implementation of this interface.

Implementations may implement any type of remember-me capability they wish. Rolling cookies (as per http://fishbowl.pastiche.org/2004/01/19/persistent_login_cookie_best_practice) can be used, as can simple implementations that don't require a persistent store.

SavedRequestAwareAuthenticationSuccessHandler.javaClass An authentication success strategy which can make use of the DefaultSavedRequest which may have been stored in the session by the ExceptionTranslationFilter .
SimpleUrlAuthenticationFailureHandler.javaClass AuthenticationFailureHandler which performs a redirect to the value of the SimpleUrlAuthenticationFailureHandler.setDefaultFailureUrldefaultFailureUrl property when the onAuthenticationFailure method is called.
SimpleUrlAuthenticationSuccessHandler.javaClass AuthenticationSuccessHandler which can be configured with a default URL which users should be sent to upon successful authentication.
UsernamePasswordAuthenticationFilter.javaClass Processes an authentication form submission.
WebAuthenticationDetails.javaClass A holder of selected HTTP details related to a web authentication request.
WebAuthenticationDetailsSource.javaClass Implementation of AuthenticationDetailsSource which builds the details object from an HttpServletRequest object.

By default will create an instance of WebAuthenticationDetails.

w_w__w_.ja___v_a_2___s___.___c_om_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.