Class ChainingAuthenticationComponentImpl

    • Constructor Detail

      • ChainingAuthenticationComponentImpl

        public ChainingAuthenticationComponentImpl()
    • Method Detail

      • getAuthenticationComponents

        public java.util.List<AuthenticationComponent> getAuthenticationComponents()
        Get the authentication components
        Returns:
        - a list of authentication components
      • setAuthenticationComponents

        public void setAuthenticationComponents​(java.util.List<AuthenticationComponent> authenticationComponents)
        Set a list of authentication components
      • getMutableAuthenticationComponent

        public AuthenticationComponent getMutableAuthenticationComponent()
        Get the authentication service thta must be at the top of the list (this may be null)
        Returns:
        AuthenticationComponent
      • setMutableAuthenticationComponent

        public void setMutableAuthenticationComponent​(AuthenticationComponent mutableAuthenticationComponent)
        Set the authentication component at the top of the list.
        Parameters:
        mutableAuthenticationComponent - AuthenticationComponent
      • setNtlmMode

        public void setNtlmMode​(NTLMMode ntlmMode)
      • authenticate

        public net.sf.acegisecurity.Authentication authenticate​(net.sf.acegisecurity.Authentication token)
                                                         throws org.alfresco.repo.security.authentication.AuthenticationException
        NTLM passthrough authentication - if a mode is defined - the first PASS_THROUGH provider is used - if not, the first component that supports NTLM is used if it supports PASS_THROUGH
        Specified by:
        authenticate in interface NLTMAuthenticator
        Parameters:
        token - Authentication
        Returns:
        Authentication
        Throws:
        org.alfresco.repo.security.authentication.AuthenticationException - the authentication exception
      • getMD4HashedPassword

        public java.lang.String getMD4HashedPassword​(java.lang.String userName)
        Get the MD4 password hash
        Specified by:
        getMD4HashedPassword in interface NLTMAuthenticator
        Parameters:
        userName - the user name
        Returns:
        the m d4 hashed password
      • getNTLMMode

        public NTLMMode getNTLMMode()
        Get the NTLM mode - this is only what is set if one of the implementations provides support for that mode.
        Specified by:
        getNTLMMode in interface NLTMAuthenticator
        Returns:
        the NTLM mode