Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isPasswordCorrect​(net.sf.acegisecurity.Authentication authentication, net.sf.acegisecurity.UserDetails user)  
      void setCompositePasswordEncoder​(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
      • Methods inherited from class java.lang.Object

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

      • RepositoryAuthenticationProvider

        public RepositoryAuthenticationProvider()
    • Method Detail

      • 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