Spring Security Framework

Uses of Interface
org.springframework.security.Authentication

Packages that use Authentication
org.springframework.security Provides core Spring Security interfaces and classes. 
org.springframework.security.acl Enables retrieval of access control lists (ACLs) for domain object instances. 
org.springframework.security.acl.basic Access control list implementation based on integer bit masks. 
org.springframework.security.acls.sid Provides indirection between ACL packages and security identities, such as principals and GrantedAuthority[]s. 
org.springframework.security.adapters Allows external containers to obtain authentication information from the system. 
org.springframework.security.afterinvocation Used for post-processing of an object returned from a secure object invocation. 
org.springframework.security.annotation   
org.springframework.security.concurrent Concurrent session control and registration classes. 
org.springframework.security.context Provides a "request context". 
org.springframework.security.event.authentication Enables events to be published to the Spring application context. 
org.springframework.security.event.authorization Provides support objects for security event interception (ie authorization). 
org.springframework.security.intercept Actually enforces the security and ties the whole security system together. 
org.springframework.security.intercept.method Provides support objects for securing Java method invocations via different AOP libraries. 
org.springframework.security.intercept.web Enforces security for HTTP requests, typically by the URL requested. 
org.springframework.security.providers Implements a provider-based approach to authentication decisions. 
org.springframework.security.providers.anonymous Allows you to secure every invocation (especially useful for web request URI security) by always having either an actual principal or an anonymous principal authenticated. 
org.springframework.security.providers.cas An authentication provider that can process JA-SIG Central Authentication Service (CAS) service tickets and proxy tickets. 
org.springframework.security.providers.dao An authentication provider that relies upon a data access object. 
org.springframework.security.providers.jaas An authentication provider for JAAS. 
org.springframework.security.providers.jaas.event Enables JAAS events to be published to the Spring application context. 
org.springframework.security.providers.ldap The LDAP authentication provider package. 
org.springframework.security.providers.ldap.authenticator LDAP authenticator implementations. 
org.springframework.security.providers.openid An authentication provider that can process OpenID Authentication Tokens as created by implementations of the OpenIDConsumer interface. 
org.springframework.security.providers.preauth   
org.springframework.security.providers.rcp Allows remote clients to authenticate and obtain a populated Authentication object. 
org.springframework.security.providers.rememberme Authentication provider that processes RememberMeAuthenticationTokens. 
org.springframework.security.providers.x509 This package is now deprecated and will be removed in a future version. 
org.springframework.security.runas Allows secure objects to be run under a different authentication identity. 
org.springframework.security.ui Authentication processing mechanisms, which respond to the submission of authentication credentials using various protocols (eg BASIC, CAS, form login etc). 
org.springframework.security.ui.basicauth Authenticates HTTP BASIC authentication requests. 
org.springframework.security.ui.cas Authenticates standard web browser users via JA-SIG Central Authentication Service (CAS). 
org.springframework.security.ui.logout   
org.springframework.security.ui.ntlm   
org.springframework.security.ui.ntlm.ldap.authenticator   
org.springframework.security.ui.openid Authenticates standard web browser users via OpenID
org.springframework.security.ui.portlet Authentication interceptor (and related classes) for use with the Portlet 1.0 (JSR 168) Specification. 
org.springframework.security.ui.preauth   
org.springframework.security.ui.rememberme Support for remembering a user between different web sessions. 
org.springframework.security.ui.switchuser Provides HTTP-based "switch user" (su) capabilities. 
org.springframework.security.ui.webapp Authenticates users via HTTP properties, headers and session. 
org.springframework.security.ui.x509 This package is now deprecated and will be removed in a future version. 
org.springframework.security.userdetails   
org.springframework.security.userdetails.jdbc Exposes a JDBC-based authentication repository. 
org.springframework.security.vote Implements a vote-based approach to authorization decisions. 
 

Uses of Authentication in org.springframework.security
 

Methods in org.springframework.security that return Authentication
 Authentication AuthenticationManager.authenticate(Authentication authentication)
          Attempts to authenticate the passed Authentication object, returning a fully populated Authentication object (including granted authorities) if successful.
 Authentication AbstractAuthenticationManager.authenticate(Authentication authRequest)
          An implementation of the authenticate method that calls the abstract method doAuthenticatation to do its work.
 Authentication RunAsManager.buildRunAs(Authentication authentication, Object object, ConfigAttributeDefinition config)
          Returns a replacement Authentication object for the current secure object invocation, or null if replacement not required.
 Authentication MockAuthenticationManager.doAuthentication(Authentication authentication)
           
protected abstract  Authentication AbstractAuthenticationManager.doAuthentication(Authentication authentication)
          Concrete implementations of this class override this method to provide the authentication service.
 Authentication AuthenticationException.getAuthentication()
          The authentication request which this exception corresponds to (may be null)
 

Methods in org.springframework.security with parameters of type Authentication
 Authentication AuthenticationManager.authenticate(Authentication authentication)
          Attempts to authenticate the passed Authentication object, returning a fully populated Authentication object (including granted authorities) if successful.
 Authentication AbstractAuthenticationManager.authenticate(Authentication authRequest)
          An implementation of the authenticate method that calls the abstract method doAuthenticatation to do its work.
 Authentication RunAsManager.buildRunAs(Authentication authentication, Object object, ConfigAttributeDefinition config)
          Returns a replacement Authentication object for the current secure object invocation, or null if replacement not required.
 void AccessDecisionManager.decide(Authentication authentication, Object object, ConfigAttributeDefinition config)
          Resolves an access control decision for the passed parameters.
 Object AfterInvocationManager.decide(Authentication authentication, Object object, ConfigAttributeDefinition config, Object returnedObject)
          Given the details of a secure object invocation including its returned Object, make an access control decision or optionally modify the returned Object.
 Authentication MockAuthenticationManager.doAuthentication(Authentication authentication)
           
protected abstract  Authentication AbstractAuthenticationManager.doAuthentication(Authentication authentication)
          Concrete implementations of this class override this method to provide the authentication service.
 boolean AuthenticationTrustResolverImpl.isAnonymous(Authentication authentication)
           
 boolean AuthenticationTrustResolver.isAnonymous(Authentication authentication)
          Indicates whether the passed Authentication token represents an anonymous user.
 boolean AuthenticationTrustResolverImpl.isRememberMe(Authentication authentication)
           
 boolean AuthenticationTrustResolver.isRememberMe(Authentication authentication)
          Indicates whether the passed Authentication token represents user that has been remembered (ie not a user that has been fully authenticated).
 

Uses of Authentication in org.springframework.security.acl
 

Methods in org.springframework.security.acl with parameters of type Authentication
 AclEntry[] AclProviderManager.getAcls(Object domainInstance, Authentication authentication)
          Deprecated.  
 AclEntry[] AclProvider.getAcls(Object domainInstance, Authentication authentication)
          Deprecated. Obtains the ACLs that apply to the specified domain instance and presented Authentication object.
 AclEntry[] AclManager.getAcls(Object domainInstance, Authentication authentication)
          Deprecated. Obtains the ACLs that apply to the specified domain instance, but only including those ACLs which have been granted to the presented Authentication object
 

Uses of Authentication in org.springframework.security.acl.basic
 

Methods in org.springframework.security.acl.basic with parameters of type Authentication
 AclEntry[] BasicAclProvider.getAcls(Object domainInstance, Authentication authentication)
          Deprecated.  
 AclEntry[] GrantedAuthorityEffectiveAclsResolver.resolveEffectiveAcls(AclEntry[] allAcls, Authentication filteredBy)
          Deprecated.  
 AclEntry[] EffectiveAclsResolver.resolveEffectiveAcls(AclEntry[] allAcls, Authentication filteredBy)
          Deprecated. Determines the ACLs that apply to the presented Authentication object.
 

Uses of Authentication in org.springframework.security.acls.sid
 

Methods in org.springframework.security.acls.sid with parameters of type Authentication
 Sid[] SidRetrievalStrategyImpl.getSids(Authentication authentication)
           
 Sid[] SidRetrievalStrategy.getSids(Authentication authentication)
           
 

Constructors in org.springframework.security.acls.sid with parameters of type Authentication
PrincipalSid(Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.adapters
 

Subinterfaces of Authentication in org.springframework.security.adapters
 interface AuthByAdapter
          Indicates a specialized, immutable, server-side only Authentication class.
 

Classes in org.springframework.security.adapters that implement Authentication
 class AbstractAdapterAuthenticationToken
          Convenience superclass for AuthByAdapter implementations.
 class PrincipalSpringSecurityUserToken
          A Principal compatible Authentication object.
 

Methods in org.springframework.security.adapters that return Authentication
 Authentication AuthByAdapterProvider.authenticate(Authentication authentication)
           
 

Methods in org.springframework.security.adapters with parameters of type Authentication
 Authentication AuthByAdapterProvider.authenticate(Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.afterinvocation
 

Methods in org.springframework.security.afterinvocation with parameters of type Authentication
 Object AclEntryAfterInvocationProvider.decide(Authentication authentication, Object object, ConfigAttributeDefinition config, Object returnedObject)
           
 Object AclEntryAfterInvocationCollectionFilteringProvider.decide(Authentication authentication, Object object, ConfigAttributeDefinition config, Object returnedObject)
           
 Object BasicAclEntryAfterInvocationProvider.decide(Authentication authentication, Object object, ConfigAttributeDefinition config, Object returnedObject)
          Deprecated.  
 Object BasicAclEntryAfterInvocationCollectionFilteringProvider.decide(Authentication authentication, Object object, ConfigAttributeDefinition config, Object returnedObject)
          Deprecated.  
 Object AfterInvocationProviderManager.decide(Authentication authentication, Object object, ConfigAttributeDefinition config, Object returnedObject)
           
 Object AfterInvocationProvider.decide(Authentication authentication, Object object, ConfigAttributeDefinition config, Object returnedObject)
           
protected  boolean AbstractAclProvider.hasPermission(Authentication authentication, Object domainObject)
           
 

Uses of Authentication in org.springframework.security.annotation
 

Methods in org.springframework.security.annotation with parameters of type Authentication
 int Jsr250Voter.vote(Authentication authentication, Object object, ConfigAttributeDefinition definition)
          Votes according to JSR 250.
 

Uses of Authentication in org.springframework.security.concurrent
 

Methods in org.springframework.security.concurrent with parameters of type Authentication
 void NullConcurrentSessionController.checkAuthenticationAllowed(Authentication request)
           
 void ConcurrentSessionControllerImpl.checkAuthenticationAllowed(Authentication request)
           
 void ConcurrentSessionController.checkAuthenticationAllowed(Authentication request)
          Called by any class that wishes to know whether the current authentication request should be permitted.
protected  int ConcurrentSessionControllerImpl.getMaximumSessionsForThisUser(Authentication authentication)
          Method intended for use by subclasses to override the maximum number of sessions that are permitted for a particular authentication.
static Object SessionRegistryUtils.obtainPrincipalFromAuthentication(Authentication auth)
           
static String SessionRegistryUtils.obtainSessionIdFromAuthentication(Authentication auth)
           
 void NullConcurrentSessionController.registerSuccessfulAuthentication(Authentication authentication)
           
 void ConcurrentSessionControllerImpl.registerSuccessfulAuthentication(Authentication authentication)
           
 void ConcurrentSessionController.registerSuccessfulAuthentication(Authentication authentication)
          Called by an AuthenticationManager when the authentication was successful.
 

Uses of Authentication in org.springframework.security.context
 

Methods in org.springframework.security.context that return Authentication
 Authentication SecurityContextImpl.getAuthentication()
           
 Authentication SecurityContext.getAuthentication()
          Obtains the currently authenticated principal, or an authentication request token.
 

Methods in org.springframework.security.context with parameters of type Authentication
 void SecurityContextImpl.setAuthentication(Authentication authentication)
           
 void SecurityContext.setAuthentication(Authentication authentication)
          Changes the currently authenticated principal, or removes the authentication information.
 

Uses of Authentication in org.springframework.security.event.authentication
 

Methods in org.springframework.security.event.authentication that return Authentication
 Authentication AbstractAuthenticationEvent.getAuthentication()
          Getters for the Authentication request that caused the event.
 

Constructors in org.springframework.security.event.authentication with parameters of type Authentication
AbstractAuthenticationEvent(Authentication authentication)
           
AbstractAuthenticationFailureEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureBadCredentialsEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureConcurrentLoginEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureCredentialsExpiredEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureDisabledEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureExpiredEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureLockedEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureProviderNotFoundEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureProxyUntrustedEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationFailureServiceExceptionEvent(Authentication authentication, AuthenticationException exception)
           
AuthenticationSuccessEvent(Authentication authentication)
           
AuthenticationSwitchUserEvent(Authentication authentication, UserDetails targetUser)
          Switch user context event constructor
InteractiveAuthenticationSuccessEvent(Authentication authentication, Class generatedBy)
           
 

Uses of Authentication in org.springframework.security.event.authorization
 

Methods in org.springframework.security.event.authorization that return Authentication
 Authentication AuthorizedEvent.getAuthentication()
           
 Authentication AuthorizationFailureEvent.getAuthentication()
           
 

Constructors in org.springframework.security.event.authorization with parameters of type Authentication
AuthorizationFailureEvent(Object secureObject, ConfigAttributeDefinition configAttribs, Authentication authentication, AccessDeniedException accessDeniedException)
          Construct the event.
AuthorizedEvent(Object secureObject, ConfigAttributeDefinition configAttribs, Authentication authentication)
          Construct the event.
 

Uses of Authentication in org.springframework.security.intercept
 

Methods in org.springframework.security.intercept that return Authentication
 Authentication InterceptorStatusToken.getAuthentication()
           
 

Constructors in org.springframework.security.intercept with parameters of type Authentication
InterceptorStatusToken(Authentication authentication, boolean contextHolderRefreshRequired, ConfigAttributeDefinition attr, Object secureObject)
           
 

Uses of Authentication in org.springframework.security.intercept.method
 

Methods in org.springframework.security.intercept.method with parameters of type Authentication
 boolean MethodInvocationPrivilegeEvaluator.isAllowed(org.aopalliance.intercept.MethodInvocation mi, Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.intercept.web
 

Methods in org.springframework.security.intercept.web with parameters of type Authentication
 boolean WebInvocationPrivilegeEvaluator.isAllowed(FilterInvocation fi, Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.providers
 

Classes in org.springframework.security.providers that implement Authentication
 class AbstractAuthenticationToken
          Base class for Authentication objects.
 class UsernamePasswordAuthenticationToken
          An Authentication implementation that is designed for simple presentation of a username and password.
 

Methods in org.springframework.security.providers that return Authentication
 Authentication AuthenticationProvider.authenticate(Authentication authentication)
          Performs authentication with the same contract as AuthenticationManager.authenticate(Authentication).
 Authentication ProviderManager.doAuthentication(Authentication authentication)
          Attempts to authenticate the passed Authentication object.
 

Methods in org.springframework.security.providers with parameters of type Authentication
 Authentication AuthenticationProvider.authenticate(Authentication authentication)
          Performs authentication with the same contract as AuthenticationManager.authenticate(Authentication).
 Authentication ProviderManager.doAuthentication(Authentication authentication)
          Attempts to authenticate the passed Authentication object.
 

Uses of Authentication in org.springframework.security.providers.anonymous
 

Classes in org.springframework.security.providers.anonymous that implement Authentication
 class AnonymousAuthenticationToken
          Represents an anonymous Authentication.
 

Methods in org.springframework.security.providers.anonymous that return Authentication
 Authentication AnonymousAuthenticationProvider.authenticate(Authentication authentication)
           
protected  Authentication AnonymousProcessingFilter.createAuthentication(HttpServletRequest request)
           
 

Methods in org.springframework.security.providers.anonymous with parameters of type Authentication
 Authentication AnonymousAuthenticationProvider.authenticate(Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.providers.cas
 

Classes in org.springframework.security.providers.cas that implement Authentication
 class CasAuthenticationToken
          Represents a successful CAS Authentication.
 

Methods in org.springframework.security.providers.cas that return Authentication
 Authentication CasAuthenticationProvider.authenticate(Authentication authentication)
           
 

Methods in org.springframework.security.providers.cas with parameters of type Authentication
 Authentication CasAuthenticationProvider.authenticate(Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.providers.dao
 

Methods in org.springframework.security.providers.dao that return Authentication
 Authentication AbstractUserDetailsAuthenticationProvider.authenticate(Authentication authentication)
           
protected  Authentication AbstractUserDetailsAuthenticationProvider.createSuccessAuthentication(Object principal, Authentication authentication, UserDetails user)
          Creates a successful Authentication object.
 

Methods in org.springframework.security.providers.dao with parameters of type Authentication
 Authentication AbstractUserDetailsAuthenticationProvider.authenticate(Authentication authentication)
           
protected  Authentication AbstractUserDetailsAuthenticationProvider.createSuccessAuthentication(Object principal, Authentication authentication, UserDetails user)
          Creates a successful Authentication object.
 

Uses of Authentication in org.springframework.security.providers.jaas
 

Classes in org.springframework.security.providers.jaas that implement Authentication
 class JaasAuthenticationToken
          UsernamePasswordAuthenticationToken extension to carry the Jaas LoginContext that the user was logged into
 

Methods in org.springframework.security.providers.jaas that return Authentication
 Authentication JaasAuthenticationProvider.authenticate(Authentication auth)
          Attempts to login the user given the Authentication objects principal and credential
 

Methods in org.springframework.security.providers.jaas with parameters of type Authentication
 Authentication JaasAuthenticationProvider.authenticate(Authentication auth)
          Attempts to login the user given the Authentication objects principal and credential
 void JaasPasswordCallbackHandler.handle(Callback callback, Authentication auth)
          If the callback passed to the 'handle' method is an instance of PasswordCallback, the JaasPasswordCallbackHandler will call, callback.setPassword(authentication.getCredentials().toString()).
 void JaasNameCallbackHandler.handle(Callback callback, Authentication authentication)
          If the callback passed to the 'handle' method is an instance of NameCallback, the JaasNameCallbackHandler will call, callback.setName(authentication.getPrincipal().toString()).
 void JaasAuthenticationCallbackHandler.handle(Callback callback, Authentication auth)
          Handle the Callback.
 

Uses of Authentication in org.springframework.security.providers.jaas.event
 

Methods in org.springframework.security.providers.jaas.event that return Authentication
 Authentication JaasAuthenticationEvent.getAuthentication()
          Pre-casted method that returns the 'source' of the event.
 

Constructors in org.springframework.security.providers.jaas.event with parameters of type Authentication
JaasAuthenticationEvent(Authentication auth)
          The Authentication object is stored as the ApplicationEvent 'source'.
JaasAuthenticationFailedEvent(Authentication auth, Exception exception)
           
JaasAuthenticationSuccessEvent(Authentication auth)
           
 

Uses of Authentication in org.springframework.security.providers.ldap
 

Methods in org.springframework.security.providers.ldap that return Authentication
 Authentication LdapAuthenticationProvider.authenticate(Authentication authentication)
           
protected  Authentication LdapAuthenticationProvider.createSuccessfulAuthentication(UsernamePasswordAuthenticationToken authentication, UserDetails user)
           
 

Methods in org.springframework.security.providers.ldap with parameters of type Authentication
 org.springframework.ldap.core.DirContextOperations LdapAuthenticator.authenticate(Authentication authentication)
          Authenticates as a user and obtains additional user information from the directory.
 Authentication LdapAuthenticationProvider.authenticate(Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.providers.ldap.authenticator
 

Methods in org.springframework.security.providers.ldap.authenticator with parameters of type Authentication
 org.springframework.ldap.core.DirContextOperations PasswordComparisonAuthenticator.authenticate(Authentication authentication)
           
 org.springframework.ldap.core.DirContextOperations BindAuthenticator.authenticate(Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.providers.openid
 

Classes in org.springframework.security.providers.openid that implement Authentication
 class OpenIDAuthenticationToken
          OpenID Authentication Token
 

Methods in org.springframework.security.providers.openid that return Authentication
 Authentication OpenIDAuthenticationProvider.authenticate(Authentication authentication)
           
 

Methods in org.springframework.security.providers.openid with parameters of type Authentication
 Authentication OpenIDAuthenticationProvider.authenticate(Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.providers.preauth
 

Classes in org.springframework.security.providers.preauth that implement Authentication
 class PreAuthenticatedAuthenticationToken
          Authentication implementation for pre-authenticated authentication.
 

Methods in org.springframework.security.providers.preauth that return Authentication
 Authentication PreAuthenticatedAuthenticationProvider.authenticate(Authentication authentication)
          Authenticate the given PreAuthenticatedAuthenticationToken.
 

Methods in org.springframework.security.providers.preauth with parameters of type Authentication
 Authentication PreAuthenticatedAuthenticationProvider.authenticate(Authentication authentication)
          Authenticate the given PreAuthenticatedAuthenticationToken.
protected  UserDetails PreAuthenticatedGrantedAuthoritiesUserDetailsService.createuserDetails(Authentication token, GrantedAuthority[] authorities)
          Creates the final UserDetails object.
 UserDetails PreAuthenticatedGrantedAuthoritiesUserDetailsService.loadUserDetails(Authentication token)
          Get a UserDetails object based on the user name contained in the given token, and the GrantedAuthorities as returned by the GrantedAuthoritiesContainer implementation as returned by the token.getDetails() method.
 

Uses of Authentication in org.springframework.security.providers.rcp
 

Methods in org.springframework.security.providers.rcp that return Authentication
 Authentication RemoteAuthenticationProvider.authenticate(Authentication authentication)
           
 

Methods in org.springframework.security.providers.rcp with parameters of type Authentication
 Authentication RemoteAuthenticationProvider.authenticate(Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.providers.rememberme
 

Classes in org.springframework.security.providers.rememberme that implement Authentication
 class RememberMeAuthenticationToken
          Represents a remembered Authentication.
 

Methods in org.springframework.security.providers.rememberme that return Authentication
 Authentication RememberMeAuthenticationProvider.authenticate(Authentication authentication)
           
 

Methods in org.springframework.security.providers.rememberme with parameters of type Authentication
 Authentication RememberMeAuthenticationProvider.authenticate(Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.providers.x509
 

Classes in org.springframework.security.providers.x509 that implement Authentication
 class X509AuthenticationToken
          Deprecated. superceded by the preauth provider. Use the X.509 authentication support in org.springframework.security.ui.preauth.x509 instead.
 

Methods in org.springframework.security.providers.x509 that return Authentication
 Authentication X509AuthenticationProvider.authenticate(Authentication authentication)
          Deprecated. If the supplied authentication token contains a certificate then this will be passed to the configured X509AuthoritiesPopulator to obtain the user details and authorities for the user identified by the certificate.
 

Methods in org.springframework.security.providers.x509 with parameters of type Authentication
 Authentication X509AuthenticationProvider.authenticate(Authentication authentication)
          Deprecated. If the supplied authentication token contains a certificate then this will be passed to the configured X509AuthoritiesPopulator to obtain the user details and authorities for the user identified by the certificate.
 

Uses of Authentication in org.springframework.security.runas
 

Classes in org.springframework.security.runas that implement Authentication
 class RunAsUserToken
          An immutable Authentication implementation that supports RunAsManagerImpl.
 

Methods in org.springframework.security.runas that return Authentication
 Authentication RunAsImplAuthenticationProvider.authenticate(Authentication authentication)
           
 Authentication RunAsManagerImpl.buildRunAs(Authentication authentication, Object object, ConfigAttributeDefinition config)
           
 Authentication NullRunAsManager.buildRunAs(Authentication authentication, Object object, ConfigAttributeDefinition config)
           
 

Methods in org.springframework.security.runas with parameters of type Authentication
 Authentication RunAsImplAuthenticationProvider.authenticate(Authentication authentication)
           
 Authentication RunAsManagerImpl.buildRunAs(Authentication authentication, Object object, ConfigAttributeDefinition config)
           
 Authentication NullRunAsManager.buildRunAs(Authentication authentication, Object object, ConfigAttributeDefinition config)
           
 

Uses of Authentication in org.springframework.security.ui
 

Methods in org.springframework.security.ui that return Authentication
abstract  Authentication AbstractProcessingFilter.attemptAuthentication(HttpServletRequest request)
          Performs actual authentication.
 

Methods in org.springframework.security.ui with parameters of type Authentication
 String TargetUrlResolverImpl.determineTargetUrl(SavedRequest savedRequest, HttpServletRequest currentRequest, Authentication auth)
           
 String TargetUrlResolver.determineTargetUrl(SavedRequest savedRequest, HttpServletRequest currentRequest, Authentication auth)
           
protected  void AbstractProcessingFilter.onSuccessfulAuthentication(HttpServletRequest request, HttpServletResponse response, Authentication authResult)
           
protected  void AbstractProcessingFilter.successfulAuthentication(HttpServletRequest request, HttpServletResponse response, Authentication authResult)
           
 

Uses of Authentication in org.springframework.security.ui.basicauth
 

Methods in org.springframework.security.ui.basicauth with parameters of type Authentication
protected  void BasicProcessingFilter.onSuccessfulAuthentication(HttpServletRequest request, HttpServletResponse response, Authentication authResult)
           
 

Uses of Authentication in org.springframework.security.ui.cas
 

Methods in org.springframework.security.ui.cas that return Authentication
 Authentication CasProcessingFilter.attemptAuthentication(HttpServletRequest request)
           
 

Uses of Authentication in org.springframework.security.ui.logout
 

Methods in org.springframework.security.ui.logout with parameters of type Authentication
 void SecurityContextLogoutHandler.logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
          Requires the request to be passed in.
 void LogoutHandler.logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
          Causes a logout to be completed.
 

Uses of Authentication in org.springframework.security.ui.ntlm
 

Classes in org.springframework.security.ui.ntlm that implement Authentication
 class NtlmUsernamePasswordAuthenticationToken
          An NTLM-specific UsernamePasswordAuthenticationToken that allows any provider to bypass the problem of an empty password since NTLM does not retrieve the user's password from the PDC.
 

Uses of Authentication in org.springframework.security.ui.ntlm.ldap.authenticator
 

Methods in org.springframework.security.ui.ntlm.ldap.authenticator with parameters of type Authentication
 org.springframework.ldap.core.DirContextOperations NtlmAwareLdapAuthenticator.authenticate(Authentication authentication)
          If the supplied Authentication object is of type NtlmUsernamePasswordAuthenticationToken, the information stored in the user's directory entry is loaded without attempting to authenticate them.
 

Uses of Authentication in org.springframework.security.ui.openid
 

Methods in org.springframework.security.ui.openid that return Authentication
 Authentication OpenIDAuthenticationProcessingFilter.attemptAuthentication(HttpServletRequest req)
           
 

Uses of Authentication in org.springframework.security.ui.portlet
 

Methods in org.springframework.security.ui.portlet with parameters of type Authentication
protected  void PortletProcessingInterceptor.onSuccessfulAuthentication(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response, Authentication authResult)
          Callback for custom processing after a successful authentication attempt.
 

Uses of Authentication in org.springframework.security.ui.preauth
 

Methods in org.springframework.security.ui.preauth with parameters of type Authentication
protected  void AbstractPreAuthenticatedProcessingFilter.successfulAuthentication(HttpServletRequest request, HttpServletResponse response, Authentication authResult)
          Puts the Authentication instance returned by the authentication manager into the secure context.
 

Uses of Authentication in org.springframework.security.ui.rememberme
 

Methods in org.springframework.security.ui.rememberme that return Authentication
 Authentication RememberMeServices.autoLogin(HttpServletRequest request, HttpServletResponse response)
          This method will be called whenever the SecurityContextHolder does not contain an Authentication object and Spring Security wishes to provide an implementation with an opportunity to authenticate the request using remember-me capabilities.
 Authentication NullRememberMeServices.autoLogin(HttpServletRequest request, HttpServletResponse response)
           
 Authentication AbstractRememberMeServices.autoLogin(HttpServletRequest request, HttpServletResponse response)
          Template implementation which locates the Spring Security cookie, decodes it into a delimited array of tokens and submits it to subclasses for processing via the processAutoLoginCookie method.
 

Methods in org.springframework.security.ui.rememberme with parameters of type Authentication
protected  int TokenBasedRememberMeServices.calculateLoginLifetime(HttpServletRequest request, Authentication authentication)
          Calculates the validity period in seconds for a newly generated remember-me login.
 void RememberMeServices.loginSuccess(HttpServletRequest request, HttpServletResponse response, Authentication successfulAuthentication)
          Called whenever an interactive authentication attempt is successful.
 void NullRememberMeServices.loginSuccess(HttpServletRequest request, HttpServletResponse response, Authentication successfulAuthentication)
           
 void AbstractRememberMeServices.loginSuccess(HttpServletRequest request, HttpServletResponse response, Authentication successfulAuthentication)
          Examines the incoming request and checks for the presence of the configured "remember me" parameter.
 void AbstractRememberMeServices.logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
          Implementation of LogoutHandler.
 void TokenBasedRememberMeServices.onLoginSuccess(HttpServletRequest request, HttpServletResponse response, Authentication successfulAuthentication)
           
protected  void PersistentTokenBasedRememberMeServices.onLoginSuccess(HttpServletRequest request, HttpServletResponse response, Authentication successfulAuthentication)
          Creates a new persistent login token with a new series number, stores the data in the persistent token repository and adds the corresponding cookie to the response.
protected abstract  void AbstractRememberMeServices.onLoginSuccess(HttpServletRequest request, HttpServletResponse response, Authentication successfulAuthentication)
          Called from loginSuccess when a remember-me login has been requested.
protected  void RememberMeProcessingFilter.onSuccessfulAuthentication(HttpServletRequest request, HttpServletResponse response, Authentication authResult)
          Called if a remember-me token is presented and successfully authenticated by the RememberMeServices autoLogin method and the AuthenticationManager.
protected  String TokenBasedRememberMeServices.retrievePassword(Authentication authentication)
           
protected  String TokenBasedRememberMeServices.retrieveUserName(Authentication authentication)
           
 

Uses of Authentication in org.springframework.security.ui.switchuser
 

Methods in org.springframework.security.ui.switchuser that return Authentication
protected  Authentication SwitchUserProcessingFilter.attemptExitUser(HttpServletRequest request)
          Attempt to exit from an already switched user.
protected  Authentication SwitchUserProcessingFilter.attemptSwitchUser(HttpServletRequest request)
          Attempt to switch to another user.
 Authentication SwitchUserGrantedAuthority.getSource()
          Returns the original user associated with a successful user switch.
 

Methods in org.springframework.security.ui.switchuser with parameters of type Authentication
 List SwitchUserAuthorityChanger.modifyGrantedAuthorities(UserDetails targetUser, Authentication currentAuthentication, List authoritiesToBeGranted)
          Allow subclasses to add or remove authorities that will be granted when in switch user mode.
 

Constructors in org.springframework.security.ui.switchuser with parameters of type Authentication
SwitchUserGrantedAuthority(String role, Authentication source)
           
 

Uses of Authentication in org.springframework.security.ui.webapp
 

Methods in org.springframework.security.ui.webapp that return Authentication
 Authentication AuthenticationProcessingFilter.attemptAuthentication(HttpServletRequest request)
           
 

Uses of Authentication in org.springframework.security.ui.x509
 

Methods in org.springframework.security.ui.x509 with parameters of type Authentication
protected  void X509ProcessingFilter.successfulAuthentication(HttpServletRequest request, HttpServletResponse response, Authentication authResult)
          Deprecated. Puts the Authentication instance returned by the authentication manager into the secure context.
 

Uses of Authentication in org.springframework.security.userdetails
 

Methods in org.springframework.security.userdetails with parameters of type Authentication
 UserDetails UserDetailsByNameServiceWrapper.loadUserDetails(Authentication authentication)
          Get the UserDetails object from the wrapped UserDetailsService implementation
 UserDetails AuthenticationUserDetailsService.loadUserDetails(Authentication token)
           
 

Uses of Authentication in org.springframework.security.userdetails.jdbc
 

Methods in org.springframework.security.userdetails.jdbc that return Authentication
protected  Authentication JdbcUserDetailsManager.createNewAuthentication(Authentication currentAuth, String newPassword)
           
 

Methods in org.springframework.security.userdetails.jdbc with parameters of type Authentication
protected  Authentication JdbcUserDetailsManager.createNewAuthentication(Authentication currentAuth, String newPassword)
           
 

Uses of Authentication in org.springframework.security.vote
 

Methods in org.springframework.security.vote with parameters of type Authentication
 void UnanimousBased.decide(Authentication authentication, Object object, ConfigAttributeDefinition config)
          This concrete implementation polls all configured AccessDecisionVoters for each ConfigAttribute and grants access if only grant votes were received.
 void ConsensusBased.decide(Authentication authentication, Object object, ConfigAttributeDefinition config)
          This concrete implementation simply polls all configured AccessDecisionVoters and upon completion determines the consensus of granted vs denied responses.
 void AffirmativeBased.decide(Authentication authentication, Object object, ConfigAttributeDefinition config)
          This concrete implementation simply polls all configured AccessDecisionVoters and grants access if any AccessDecisionVoter voted affirmatively.
 int AclEntryVoter.vote(Authentication authentication, Object object, ConfigAttributeDefinition config)
           
 int RoleVoter.vote(Authentication authentication, Object object, ConfigAttributeDefinition config)
           
 int LabelBasedAclVoter.vote(Authentication authentication, Object object, ConfigAttributeDefinition config)
          Deprecated. Vote on whether or not the user has all the labels necessary to match the method argument's labeled data.
 int BasicAclEntryVoter.vote(Authentication authentication, Object object, ConfigAttributeDefinition config)
          Deprecated.  
 int AuthenticatedVoter.vote(Authentication authentication, Object object, ConfigAttributeDefinition config)
           
 int AccessDecisionVoter.vote(Authentication authentication, Object object, ConfigAttributeDefinition config)
          Indicates whether or not access is granted.
 


Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.