Package | Description |
---|---|
org.springframework.security.access.hierarchicalroles |
Role hierarchy implementation.
|
org.springframework.security.authentication |
Core classes and interfaces related to user authentication, which are used throughout Spring Security.
|
org.springframework.security.authentication.dao |
An
AuthenticationProvider which relies upon a data access object. |
org.springframework.security.cas.authentication |
An
AuthenticationProvider that can process CAS service tickets and proxy tickets. |
org.springframework.security.cas.userdetails | |
org.springframework.security.config.authentication |
Parsing of <authentication-manager> and related elements.
|
org.springframework.security.core.userdetails |
The standard interfaces for implementing user data DAOs.
|
org.springframework.security.core.userdetails.cache |
Implementations of
UserCache . |
org.springframework.security.core.userdetails.jdbc |
Exposes a JDBC-based authentication repository, implementing
org.springframework.security.core.userdetails.UserDetailsService UserDetailsService . |
org.springframework.security.core.userdetails.memory |
Exposes an in-memory authentication repository.
|
org.springframework.security.ldap.authentication |
The LDAP authentication provider package.
|
org.springframework.security.ldap.userdetails |
LDAP-focused
UserDetails implementations which map from a ubset of the data
contained in some of the standard LDAP types (such as InetOrgPerson ). |
org.springframework.security.openid |
Authenticates standard web browser users via OpenID.
|
org.springframework.security.provisioning |
Contains simple user and authority group account provisioning interfaces together with a a
JDBC-based implementation.
|
org.springframework.security.web.authentication.preauth |
Support for "pre-authenticated" scenarios, where Spring Security assumes the incoming request has already been
authenticated by some externally configured system.
|
org.springframework.security.web.authentication.rememberme |
Support for remembering a user between different web sessions.
|
org.springframework.security.web.authentication.switchuser |
Provides HTTP-based "switch user" (su) capabilities.
|
Modifier and Type | Class and Description |
---|---|
class |
UserDetailsWrapper
Deprecated.
use a
RoleHierarchyVoter or RoleHierarchyAuthoritiesMapper instead. |
Modifier and Type | Method and Description |
---|---|
UserDetails |
UserDetailsWrapper.getUnwrappedUserDetails()
Deprecated.
|
UserDetails |
UserDetailsServiceWrapper.loadUserByUsername(String username)
Deprecated.
|
Constructor and Description |
---|
UserDetailsWrapper(UserDetails userDetails,
RoleHierarchy roleHierarchy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AccountStatusUserDetailsChecker.check(UserDetails user) |
Modifier and Type | Method and Description |
---|---|
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 ). |
Modifier and Type | Method and Description |
---|---|
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.
|
Object |
ReflectionSaltSource.getSalt(UserDetails user)
Performs reflection on the passed
User to obtain the salt. |
Object |
SystemWideSaltSource.getSalt(UserDetails user) |
Modifier and Type | Method and Description |
---|---|
UserDetails |
CasAuthenticationToken.getUserDetails() |
protected UserDetails |
CasAuthenticationProvider.loadUserByAssertion(org.jasig.cas.client.validation.Assertion assertion)
Template method for retrieving the UserDetails based on the assertion.
|
Constructor and Description |
---|
CasAuthenticationToken(String key,
Object principal,
Object credentials,
Collection<? extends GrantedAuthority> authorities,
UserDetails userDetails,
org.jasig.cas.client.validation.Assertion assertion)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected UserDetails |
GrantedAuthorityFromAssertionAttributesUserDetailsService.loadUserDetails(org.jasig.cas.client.validation.Assertion assertion) |
protected abstract UserDetails |
AbstractCasAssertionUserDetailsService.loadUserDetails(org.jasig.cas.client.validation.Assertion assertion)
Protected template method for construct a
UserDetails via the supplied CAS
assertion. |
UserDetails |
AbstractCasAssertionUserDetailsService.loadUserDetails(CasAssertionAuthenticationToken token) |
Modifier and Type | Method and Description |
---|---|
UserDetails |
CachingUserDetailsService.loadUserByUsername(String username) |
Modifier and Type | Class and Description |
---|---|
class |
User
Models core user information retrieved by a
UserDetailsService . |
Modifier and Type | Method and Description |
---|---|
UserDetails |
UserCache.getUserFromCache(String username)
Obtains a
UserDetails from the cache. |
UserDetails |
UserDetailsService.loadUserByUsername(String username)
Locates the user based on the username.
|
UserDetails |
AuthenticationUserDetailsService.loadUserDetails(T token) |
UserDetails |
UserDetailsByNameServiceWrapper.loadUserDetails(T authentication)
Get the UserDetails object from the wrapped UserDetailsService
implementation
|
Modifier and Type | Method and Description |
---|---|
void |
UserDetailsChecker.check(UserDetails toCheck)
Examines the User
|
void |
UserCache.putUserInCache(UserDetails user)
Places a
UserDetails in the cache. |
Modifier and Type | Method and Description |
---|---|
UserDetails |
EhCacheBasedUserCache.getUserFromCache(String username) |
UserDetails |
SpringCacheBasedUserCache.getUserFromCache(String username) |
UserDetails |
NullUserCache.getUserFromCache(String username) |
Modifier and Type | Method and Description |
---|---|
void |
EhCacheBasedUserCache.putUserInCache(UserDetails user) |
void |
SpringCacheBasedUserCache.putUserInCache(UserDetails user) |
void |
NullUserCache.putUserInCache(UserDetails user) |
void |
EhCacheBasedUserCache.removeUserFromCache(UserDetails user) |
void |
SpringCacheBasedUserCache.removeUserFromCache(UserDetails user) |
Modifier and Type | Method and Description |
---|---|
protected UserDetails |
JdbcDaoImpl.createUserDetails(String username,
UserDetails userFromUserQuery,
List<GrantedAuthority> combinedAuthorities)
Can be overridden to customize the creation of the final UserDetailsObject which is
returned by the loadUserByUsername method.
|
UserDetails |
JdbcDaoImpl.loadUserByUsername(String username) |
Modifier and Type | Method and Description |
---|---|
protected List<UserDetails> |
JdbcDaoImpl.loadUsersByUsername(String username)
Executes the SQL usersByUsernameQuery and returns a list of UserDetails objects.
|
Modifier and Type | Method and Description |
---|---|
protected UserDetails |
JdbcDaoImpl.createUserDetails(String username,
UserDetails userFromUserQuery,
List<GrantedAuthority> combinedAuthorities)
Can be overridden to customize the creation of the final UserDetailsObject which is
returned by the loadUserByUsername method.
|
Modifier and Type | Method and Description |
---|---|
UserDetails |
UserMap.getUser(String username)
Deprecated.
Locates the specified user by performing a case insensitive search by username.
|
UserDetails |
InMemoryDaoImpl.loadUserByUsername(String username)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
UserMap.addUser(UserDetails user)
Deprecated.
Adds a user to the in-memory map.
|
Modifier and Type | Method and Description |
---|---|
void |
UserMap.setUsers(Map<String,UserDetails> users)
Deprecated.
Set the users in this
UserMap . |
Modifier and Type | Method and Description |
---|---|
protected Authentication |
AbstractLdapAuthenticationProvider.createSuccessfulAuthentication(UsernamePasswordAuthenticationToken authentication,
UserDetails user)
Creates the final
Authentication object which will be returned from the authenticate method. |
Modifier and Type | Interface and Description |
---|---|
interface |
LdapUserDetails
Captures the information for a user's LDAP entry.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
UserDetails |
LdapUserDetailsService.loadUserByUsername(String username) |
UserDetails |
LdapUserDetailsManager.loadUserByUsername(String username) |
UserDetails |
UserDetailsContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
Collection<? extends GrantedAuthority> authorities)
Creates a fully populated UserDetails object for use by the security framework.
|
UserDetails |
LdapUserDetailsMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
Collection<? extends GrantedAuthority> authorities) |
UserDetails |
PersonContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
Collection<? extends GrantedAuthority> authorities) |
UserDetails |
InetOrgPersonContextMapper.mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
Collection<? extends GrantedAuthority> authorities) |
Modifier and Type | Method and Description |
---|---|
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 |
LdapUserDetailsMapper.mapUserToContext(UserDetails user,
org.springframework.ldap.core.DirContextAdapter ctx) |
void |
PersonContextMapper.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) |
Modifier and Type | Method and Description |
---|---|
protected Authentication |
OpenIDAuthenticationProvider.createSuccessfulAuthentication(UserDetails userDetails,
OpenIDAuthenticationToken auth)
Handles the creation of the final Authentication object which will be returned by the provider.
|
Modifier and Type | Method and Description |
---|---|
UserDetails |
InMemoryUserDetailsManager.loadUserByUsername(String username) |
Modifier and Type | Method and Description |
---|---|
void |
UserDetailsManager.createUser(UserDetails user)
Create a new user with the supplied details.
|
void |
JdbcUserDetailsManager.createUser(UserDetails user) |
void |
InMemoryUserDetailsManager.createUser(UserDetails user) |
void |
UserDetailsManager.updateUser(UserDetails user)
Update the specified user.
|
void |
JdbcUserDetailsManager.updateUser(UserDetails user) |
void |
InMemoryUserDetailsManager.updateUser(UserDetails user) |
Constructor and Description |
---|
InMemoryUserDetailsManager(Collection<UserDetails> users) |
Modifier and Type | Method and Description |
---|---|
protected UserDetails |
PreAuthenticatedGrantedAuthoritiesUserDetailsService.createuserDetails(Authentication token,
Collection<? extends GrantedAuthority> authorities)
|
protected UserDetails |
PreAuthenticatedGrantedAuthoritiesUserDetailsService.createUserDetails(Authentication token,
Collection<? extends GrantedAuthority> authorities)
Creates the final UserDetails object.
|
UserDetails |
PreAuthenticatedGrantedAuthoritiesUserDetailsService.loadUserDetails(PreAuthenticatedAuthenticationToken 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.
|
Modifier and Type | Method and Description |
---|---|
protected UserDetails |
TokenBasedRememberMeServices.processAutoLoginCookie(String[] cookieTokens,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected UserDetails |
PersistentTokenBasedRememberMeServices.processAutoLoginCookie(String[] cookieTokens,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Locates the presented cookie data in the token repository, using the series id.
|
protected abstract UserDetails |
AbstractRememberMeServices.processAutoLoginCookie(String[] cookieTokens,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called from autoLogin to process the submitted persistent login cookie.
|
Modifier and Type | Method and Description |
---|---|
protected Authentication |
AbstractRememberMeServices.createSuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
UserDetails user)
Creates the final Authentication object returned from the autoLogin method.
|
Modifier and Type | Method and Description |
---|---|
UserDetails |
AuthenticationSwitchUserEvent.getTargetUser() |
Modifier and Type | Method and Description |
---|---|
Collection<? extends GrantedAuthority> |
SwitchUserAuthorityChanger.modifyGrantedAuthorities(UserDetails targetUser,
Authentication currentAuthentication,
Collection<? extends GrantedAuthority> authoritiesToBeGranted)
Allow subclasses to add or remove authorities that will be granted when in switch user mode.
|
Constructor and Description |
---|
AuthenticationSwitchUserEvent(Authentication authentication,
UserDetails targetUser)
Switch user context event constructor
|
Copyright © 2019. All rights reserved.