Class RepositoryAuthenticationProvider
java.lang.Object
net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider
org.alfresco.repo.security.authentication.RepositoryAuthenticationProvider
- All Implemented Interfaces:
net.sf.acegisecurity.providers.AuthenticationProvider,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class RepositoryAuthenticationProvider
extends net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider
A DaoAuthenticationProvider that makes use of a CompositePasswordEncoder to check the
password is correct.
- Author:
- Gethin James
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisPasswordCorrect(net.sf.acegisecurity.Authentication authentication, net.sf.acegisecurity.UserDetails user) voidsetCompositePasswordEncoder(CompositePasswordEncoder compositePasswordEncoder) Methods inherited from class net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider
afterPropertiesSet, authenticate, createSuccessAuthentication, getAuthenticationDao, getContext, getPasswordEncoder, getSaltSource, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setApplicationContext, setAuthenticationDao, setForcePrincipalAsString, setHideUserNotFoundExceptions, setPasswordEncoder, setSaltSource, setUserCache, supports
-
Constructor Details
-
RepositoryAuthenticationProvider
public RepositoryAuthenticationProvider()
-
-
Method Details
-
setCompositePasswordEncoder
-
isPasswordCorrect
protected boolean isPasswordCorrect(net.sf.acegisecurity.Authentication authentication, net.sf.acegisecurity.UserDetails user) - Overrides:
isPasswordCorrectin classnet.sf.acegisecurity.providers.dao.DaoAuthenticationProvider
-