Class NetgrifBasicAuthenticationProvider

  • All Implemented Interfaces:
    org.springframework.security.authentication.AuthenticationProvider

    @Component
    public class NetgrifBasicAuthenticationProvider
    extends NetgrifAuthenticationProvider
    • Field Detail

      • messages

        protected org.springframework.context.support.MessageSourceAccessor messages
      • passwordEncoder

        protected org.springframework.security.crypto.password.PasswordEncoder passwordEncoder
    • Constructor Detail

      • NetgrifBasicAuthenticationProvider

        public NetgrifBasicAuthenticationProvider()
    • Method Detail

      • authenticate

        public org.springframework.security.core.Authentication authenticate​(org.springframework.security.core.Authentication authentication)
                                                                      throws org.springframework.security.core.AuthenticationException
        Specified by:
        authenticate in interface org.springframework.security.authentication.AuthenticationProvider
        Specified by:
        authenticate in class NetgrifAuthenticationProvider
        Throws:
        org.springframework.security.core.AuthenticationException
      • supports

        public boolean supports​(java.lang.Class<?> authentication)
        Specified by:
        supports in interface org.springframework.security.authentication.AuthenticationProvider
        Specified by:
        supports in class NetgrifAuthenticationProvider
      • setPasswordEncoder

        public void setPasswordEncoder​(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)