Class AuthenticationComponentImpl

    • Constructor Detail

      • AuthenticationComponentImpl

        public AuthenticationComponentImpl()
    • Method Detail

      • setAuthenticationManager

        public void setAuthenticationManager​(net.sf.acegisecurity.AuthenticationManager authenticationManager)
        IOC
        Parameters:
        authenticationManager - AuthenticationManager
      • setAuthenticationDao

        public void setAuthenticationDao​(MutableAuthenticationDao authenticationDao)
        IOC
        Parameters:
        authenticationDao - MutableAuthenticationDao
      • authenticateImpl

        protected void authenticateImpl​(java.lang.String userNameIn,
                                        char[] password)
                                 throws org.alfresco.repo.security.authentication.AuthenticationException
        Authenticate
        Overrides:
        authenticateImpl in class AbstractAuthenticationComponent
        Parameters:
        userNameIn - String
        password - char[]
        Throws:
        org.alfresco.repo.security.authentication.AuthenticationException
      • getUserDetails

        protected net.sf.acegisecurity.UserDetails getUserDetails​(java.lang.String userName)
        We actually have an acegi object so override the default method.
        Overrides:
        getUserDetails in class AbstractAuthenticationComponent
        Parameters:
        userName - String
        Returns:
        UserDetails
      • getMD4HashedPassword

        public java.lang.String getMD4HashedPassword​(java.lang.String userName)
        Get the password hash from the DAO
      • authenticate

        public net.sf.acegisecurity.Authentication authenticate​(net.sf.acegisecurity.Authentication token)
                                                         throws org.alfresco.repo.security.authentication.AuthenticationException
        The default is not to support Authentication token base authentication
        Throws:
        org.alfresco.repo.security.authentication.AuthenticationException