Class HybridOpenNMSUserAuthenticationProvider

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean, org.springframework.security.authentication.AuthenticationProvider

    public class HybridOpenNMSUserAuthenticationProvider
    extends java.lang.Object
    implements org.springframework.security.authentication.AuthenticationProvider, org.springframework.beans.factory.InitializingBean
    • Constructor Detail

      • HybridOpenNMSUserAuthenticationProvider

        public HybridOpenNMSUserAuthenticationProvider()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • setUserManager

        public void setUserManager​(UserManager userManager)
      • 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
        Throws:
        org.springframework.security.core.AuthenticationException
      • checkUserPassword

        protected void checkUserPassword​(java.lang.String authUsername,
                                         java.lang.String authPassword,
                                         SpringSecurityUser user)
                                  throws org.springframework.security.core.AuthenticationException
        Throws:
        org.springframework.security.core.AuthenticationException
      • supports

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