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
    • 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