Spring Security Framework

Uses of Interface
org.springframework.security.userdetails.UserDetails

Packages that use UserDetails
org.springframework.security.event.authentication Enables events to be published to the Spring application context. 
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.dao.cache Caches User objects for the DaoAuthenticationProvider
org.springframework.security.providers.dao.salt Implementations that provide salts for more secure password encoding. 
org.springframework.security.providers.ldap The LDAP authentication provider package. 
org.springframework.security.providers.preauth   
org.springframework.security.providers.x509 This package is now deprecated and will be removed in a future version. 
org.springframework.security.providers.x509.cache Deprecated and will be removed in a future version. 
org.springframework.security.providers.x509.populator This package is now deprecated and will be removed in a future version. 
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.userdetails   
org.springframework.security.userdetails.checker   
org.springframework.security.userdetails.hierarchicalroles   
org.springframework.security.userdetails.jdbc Exposes a JDBC-based authentication repository. 
org.springframework.security.userdetails.ldap   
org.springframework.security.userdetails.memory Exposes an in-memory authentication repository. 
 

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

Methods in org.springframework.security.event.authentication that return UserDetails
 UserDetails AuthenticationSwitchUserEvent.getTargetUser()
           
 

Constructors in org.springframework.security.event.authentication with parameters of type UserDetails
AuthenticationSwitchUserEvent(Authentication authentication, UserDetails targetUser)
          Switch user context event constructor
 

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

Methods in org.springframework.security.providers.cas that return UserDetails
 UserDetails CasAuthenticationToken.getUserDetails()
           
protected  UserDetails CasAuthenticationProvider.loadUserByAssertion(org.jasig.cas.client.validation.Assertion assertion)
          Template method for retrieving the UserDetails based on the assertion.
 

Constructors in org.springframework.security.providers.cas with parameters of type UserDetails
CasAuthenticationToken(String key, Object principal, Object credentials, GrantedAuthority[] authorities, UserDetails userDetails, org.jasig.cas.client.validation.Assertion assertion)
          Constructor.
 

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

Methods in org.springframework.security.providers.dao that return UserDetails
 UserDetails UserCache.getUserFromCache(String username)
          Obtains a UserDetails from the cache.
protected  UserDetails DaoAuthenticationProvider.retrieveUser(String username, UsernamePasswordAuthenticationToken authentication)
           
protected abstract  UserDetails AbstractUserDetailsAuthenticationProvider.retrieveUser(String username, UsernamePasswordAuthenticationToken authentication)
          Allows subclasses to actually retrieve the UserDetails from an implementation-specific location, with the option of throwing an AuthenticationException immediately if the presented credentials are incorrect (this is especially useful if it is necessary to bind to a resource as the user in order to obtain or generate a UserDetails).
 

Methods in org.springframework.security.providers.dao with parameters of type UserDetails
protected  void DaoAuthenticationProvider.additionalAuthenticationChecks(UserDetails userDetails, UsernamePasswordAuthenticationToken authentication)
           
protected abstract  void AbstractUserDetailsAuthenticationProvider.additionalAuthenticationChecks(UserDetails userDetails, UsernamePasswordAuthenticationToken authentication)
          Allows subclasses to perform any additional checks of a returned (or cached) UserDetails for a given authentication request.
protected  Authentication AbstractUserDetailsAuthenticationProvider.createSuccessAuthentication(Object principal, Authentication authentication, UserDetails user)
          Creates a successful Authentication object.
 Object SaltSource.getSalt(UserDetails user)
          Returns the salt to use for the indicated user.
 void UserCache.putUserInCache(UserDetails user)
          Places a UserDetails in the cache.
 

Uses of UserDetails in org.springframework.security.providers.dao.cache
 

Methods in org.springframework.security.providers.dao.cache that return UserDetails
 UserDetails NullUserCache.getUserFromCache(String username)
           
 UserDetails EhCacheBasedUserCache.getUserFromCache(String username)
           
 

Methods in org.springframework.security.providers.dao.cache with parameters of type UserDetails
 void NullUserCache.putUserInCache(UserDetails user)
           
 void EhCacheBasedUserCache.putUserInCache(UserDetails user)
           
 void EhCacheBasedUserCache.removeUserFromCache(UserDetails user)
           
 

Uses of UserDetails in org.springframework.security.providers.dao.salt
 

Methods in org.springframework.security.providers.dao.salt with parameters of type UserDetails
 Object SystemWideSaltSource.getSalt(UserDetails user)
           
 Object ReflectionSaltSource.getSalt(UserDetails user)
          Performs reflection on the passed User to obtain the salt.
 

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

Methods in org.springframework.security.providers.ldap with parameters of type UserDetails
protected  Authentication LdapAuthenticationProvider.createSuccessfulAuthentication(UsernamePasswordAuthenticationToken authentication, UserDetails user)
           
 

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

Methods in org.springframework.security.providers.preauth that return UserDetails
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 UserDetails in org.springframework.security.providers.x509
 

Methods in org.springframework.security.providers.x509 that return UserDetails
 UserDetails X509AuthoritiesPopulator.getUserDetails(X509Certificate userCertificate)
          Deprecated. Obtains the granted authorities for the specified user.
 UserDetails X509UserCache.getUserFromCache(X509Certificate userCertificate)
          Deprecated.  
 

Methods in org.springframework.security.providers.x509 with parameters of type UserDetails
 void X509UserCache.putUserInCache(X509Certificate key, UserDetails user)
          Deprecated.  
 

Uses of UserDetails in org.springframework.security.providers.x509.cache
 

Methods in org.springframework.security.providers.x509.cache that return UserDetails
 UserDetails NullX509UserCache.getUserFromCache(X509Certificate certificate)
          Deprecated.  
 UserDetails EhCacheBasedX509UserCache.getUserFromCache(X509Certificate userCert)
          Deprecated.  
 

Methods in org.springframework.security.providers.x509.cache with parameters of type UserDetails
 void NullX509UserCache.putUserInCache(X509Certificate certificate, UserDetails user)
          Deprecated.  
 void EhCacheBasedX509UserCache.putUserInCache(X509Certificate userCert, UserDetails user)
          Deprecated.  
 

Uses of UserDetails in org.springframework.security.providers.x509.populator
 

Methods in org.springframework.security.providers.x509.populator that return UserDetails
 UserDetails DaoX509AuthoritiesPopulator.getUserDetails(X509Certificate clientCert)
          Deprecated.  
 

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

Methods in org.springframework.security.ui.rememberme that return UserDetails
 UserDetails TokenBasedRememberMeServices.processAutoLoginCookie(String[] cookieTokens, HttpServletRequest request, HttpServletResponse response)
           
protected  UserDetails PersistentTokenBasedRememberMeServices.processAutoLoginCookie(String[] cookieTokens, HttpServletRequest request, HttpServletResponse response)
          Locates the presented cookie data in the token repository, using the series id.
protected abstract  UserDetails AbstractRememberMeServices.processAutoLoginCookie(String[] cookieTokens, HttpServletRequest request, HttpServletResponse response)
          Called from autoLogin to process the submitted persistent login cookie.
 

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

Methods in org.springframework.security.ui.switchuser with parameters of type UserDetails
 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.
 

Uses of UserDetails in org.springframework.security.userdetails
 

Classes in org.springframework.security.userdetails that implement UserDetails
 class User
          Models core user information retieved by an UserDetailsService.
 

Methods in org.springframework.security.userdetails that return UserDetails
 UserDetails UserDetailsService.loadUserByUsername(String username)
          Locates the user based on the username.
 UserDetails UserDetailsByNameServiceWrapper.loadUserDetails(Authentication authentication)
          Get the UserDetails object from the wrapped UserDetailsService implementation
 UserDetails AuthenticationUserDetailsService.loadUserDetails(Authentication token)
           
 

Methods in org.springframework.security.userdetails with parameters of type UserDetails
 void UserDetailsChecker.check(UserDetails toCheck)
           
 void UserDetailsManager.createUser(UserDetails user)
          Create a new user with the supplied details.
 void UserDetailsManager.updateUser(UserDetails user)
          Update the specified user.
 

Uses of UserDetails in org.springframework.security.userdetails.checker
 

Methods in org.springframework.security.userdetails.checker with parameters of type UserDetails
 void AccountStatusUserDetailsChecker.check(UserDetails user)
           
 

Uses of UserDetails in org.springframework.security.userdetails.hierarchicalroles
 

Classes in org.springframework.security.userdetails.hierarchicalroles that implement UserDetails
 class UserDetailsWrapper
          Deprecated. use a RoleHierarchyVoter instead.
 

Methods in org.springframework.security.userdetails.hierarchicalroles that return UserDetails
 UserDetails UserDetailsWrapper.getUnwrappedUserDetails()
          Deprecated.  
 UserDetails UserDetailsServiceWrapper.loadUserByUsername(String username)
          Deprecated.  
 

Constructors in org.springframework.security.userdetails.hierarchicalroles with parameters of type UserDetails
UserDetailsWrapper(UserDetails userDetails, RoleHierarchy roleHierarchy)
          Deprecated.  
 

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

Methods in org.springframework.security.userdetails.jdbc that return UserDetails
protected  UserDetails JdbcDaoImpl.createUserDetails(String username, UserDetails userFromUserQuery, GrantedAuthority[] combinedAuthorities)
          Can be overridden to customize the creation of the final UserDetailsObject returnd from loadUserByUsername.
 UserDetails JdbcDaoImpl.loadUserByUsername(String username)
           
 

Methods in org.springframework.security.userdetails.jdbc with parameters of type UserDetails
 void JdbcUserDetailsManager.createUser(UserDetails user)
           
protected  UserDetails JdbcDaoImpl.createUserDetails(String username, UserDetails userFromUserQuery, GrantedAuthority[] combinedAuthorities)
          Can be overridden to customize the creation of the final UserDetailsObject returnd from loadUserByUsername.
 void JdbcUserDetailsManager.updateUser(UserDetails user)
           
 

Uses of UserDetails in org.springframework.security.userdetails.ldap
 

Subinterfaces of UserDetails in org.springframework.security.userdetails.ldap
 interface LdapUserDetails
          Captures the information for a user's LDAP entry.
 

Classes in org.springframework.security.userdetails.ldap that implement UserDetails
 class InetOrgPerson
          UserDetails implementation whose properties are based on a subset of the LDAP schema for inetOrgPerson.
 class LdapUserDetailsImpl
          A UserDetails implementation which is used internally by the Ldap services.
 class Person
          UserDetails implementation whose properties are based on the LDAP schema for Person.
 

Methods in org.springframework.security.userdetails.ldap that return UserDetails
 UserDetails LdapUserDetailsService.loadUserByUsername(String username)
           
 UserDetails LdapUserDetailsManager.loadUserByUsername(String username)
           
 UserDetails UserDetailsContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx, String username, GrantedAuthority[] authority)
          Creates a fully populated UserDetails object for use by the security framework.
 UserDetails PersonContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx, String username, GrantedAuthority[] authorities)
           
 UserDetails LdapUserDetailsMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx, String username, GrantedAuthority[] authorities)
           
 UserDetails InetOrgPersonContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx, String username, GrantedAuthority[] authorities)
           
 

Methods in org.springframework.security.userdetails.ldap with parameters of type UserDetails
protected  void LdapUserDetailsManager.copyToContext(UserDetails user, org.springframework.ldap.core.DirContextAdapter ctx)
           
 void LdapUserDetailsManager.createUser(UserDetails user)
           
 void UserDetailsContextMapper.mapUserToContext(UserDetails user, org.springframework.ldap.core.DirContextAdapter ctx)
          Reverse of the above operation.
 void PersonContextMapper.mapUserToContext(UserDetails user, org.springframework.ldap.core.DirContextAdapter ctx)
           
 void LdapUserDetailsMapper.mapUserToContext(UserDetails user, org.springframework.ldap.core.DirContextAdapter ctx)
           
 void InetOrgPersonContextMapper.mapUserToContext(UserDetails user, org.springframework.ldap.core.DirContextAdapter ctx)
           
 void LdapUserDetailsManager.updateUser(UserDetails user)
           
 

Uses of UserDetails in org.springframework.security.userdetails.memory
 

Methods in org.springframework.security.userdetails.memory that return UserDetails
 UserDetails UserMap.getUser(String username)
          Locates the specified user by performing a case insensitive search by username.
 UserDetails InMemoryDaoImpl.loadUserByUsername(String username)
           
 

Methods in org.springframework.security.userdetails.memory with parameters of type UserDetails
 void UserMap.addUser(UserDetails user)
          Adds a user to the in-memory map.
 


Spring Security Framework

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