Class SaltedDaoAuthenticationProvider
- java.lang.Object
-
- org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
-
- org.springframework.security.authentication.dao.DaoAuthenticationProvider
-
- org.onebusaway.users.impl.authentication.SaltedDaoAuthenticationProvider
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.MessageSourceAware
,org.springframework.security.authentication.AuthenticationProvider
public class SaltedDaoAuthenticationProvider extends org.springframework.security.authentication.dao.DaoAuthenticationProvider
Legacy support for Salted Passwords.
-
-
Constructor Summary
Constructors Constructor Description SaltedDaoAuthenticationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails details, org.springframework.security.authentication.UsernamePasswordAuthenticationToken auth)
org.springframework.security.core.Authentication
authenticate(org.springframework.security.core.Authentication authentication)
protected org.springframework.security.core.Authentication
createSuccessAuthentication(Object principal, org.springframework.security.core.Authentication authentication, org.springframework.security.core.userdetails.UserDetails user)
void
setAuthoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper authoritiesMapper)
void
setCurrentUserService(CurrentUserService currentUserService)
void
setUserService(UserService userService)
void
setVersionPrefix(String prefix)
boolean
supports(Class authentication)
-
Methods inherited from class org.springframework.security.authentication.dao.DaoAuthenticationProvider
doAfterPropertiesSet, getPasswordEncoder, getUserDetailsService, retrieveUser, setPasswordEncoder, setUserDetailsPasswordService, setUserDetailsService
-
Methods inherited from class org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
afterPropertiesSet, getPostAuthenticationChecks, getPreAuthenticationChecks, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCache
-
-
-
-
Method Detail
-
setUserService
@Autowired public void setUserService(UserService userService)
-
setCurrentUserService
@Autowired public void setCurrentUserService(CurrentUserService currentUserService)
-
setAuthoritiesMapper
public void setAuthoritiesMapper(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper authoritiesMapper)
- Overrides:
setAuthoritiesMapper
in classorg.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
-
setVersionPrefix
public void setVersionPrefix(String prefix)
-
createSuccessAuthentication
protected org.springframework.security.core.Authentication createSuccessAuthentication(Object principal, org.springframework.security.core.Authentication authentication, org.springframework.security.core.userdetails.UserDetails user)
- Overrides:
createSuccessAuthentication
in classorg.springframework.security.authentication.dao.DaoAuthenticationProvider
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
- Specified by:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Overrides:
authenticate
in classorg.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
-
supports
public boolean supports(Class authentication)
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Overrides:
supports
in classorg.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider
-
additionalAuthenticationChecks
protected void additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails details, org.springframework.security.authentication.UsernamePasswordAuthenticationToken auth) throws org.springframework.security.core.AuthenticationException
- Overrides:
additionalAuthenticationChecks
in classorg.springframework.security.authentication.dao.DaoAuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-
-