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.DaoAuthenticationProviderA DaoAuthenticationProvider that makes use of a CompositePasswordEncoder to check the password is correct.- Author:
- Gethin James
-
-
Constructor Summary
Constructors Constructor Description RepositoryAuthenticationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Method Detail
-
setCompositePasswordEncoder
public void setCompositePasswordEncoder(CompositePasswordEncoder compositePasswordEncoder)
-
isPasswordCorrect
protected boolean isPasswordCorrect(net.sf.acegisecurity.Authentication authentication, net.sf.acegisecurity.UserDetails user)- Overrides:
isPasswordCorrectin classnet.sf.acegisecurity.providers.dao.DaoAuthenticationProvider
-
-