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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    isPasswordCorrect(net.sf.acegisecurity.Authentication authentication, net.sf.acegisecurity.UserDetails user)
     
    void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RepositoryAuthenticationProvider

      public RepositoryAuthenticationProvider()
  • Method Details

    • setCompositePasswordEncoder

      public void setCompositePasswordEncoder(CompositePasswordEncoder compositePasswordEncoder)
    • isPasswordCorrect

      protected boolean isPasswordCorrect(net.sf.acegisecurity.Authentication authentication, net.sf.acegisecurity.UserDetails user)
      Overrides:
      isPasswordCorrect in class net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider