Class LdapLoginModule.LDAPUserInfo

    • Constructor Detail

      • LDAPUserInfo

        public LDAPUserInfo​(java.lang.String userName,
                            Credential credential,
                            javax.naming.directory.Attributes attributes)
        Parameters:
        userName - the user name
        credential - the credential
        attributes - the user Attributes
    • Method Detail

      • doFetchRoles

        public java.util.List<java.lang.String> doFetchRoles()
                                                      throws java.lang.Exception
        Description copied from class: UserInfo
        Should be overridden by subclasses to obtain role info
        Overrides:
        doFetchRoles in class UserInfo
        Returns:
        List of role associated to the user
        Throws:
        java.lang.Exception - if the roles cannot be retrieved