public class LdapLoginModule.LDAPUserInfo extends UserInfo
_roleNames, _rolesLoaded
Constructor and Description |
---|
LDAPUserInfo(java.lang.String userName,
Credential credential,
javax.naming.directory.Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
doFetchRoles()
Should be overridden by subclasses to obtain
role info
|
checkCredential, fetchRoles, getCredential, getRoleNames, getUserName
public LDAPUserInfo(java.lang.String userName, Credential credential, javax.naming.directory.Attributes attributes)
userName
- the user namecredential
- the credentialattributes
- the user Attributes
public java.util.List<java.lang.String> doFetchRoles() throws java.lang.Exception
UserInfo
doFetchRoles
in class UserInfo
java.lang.Exception
- if the roles cannot be retrievedCopyright © 1995–2023 Webtide. All rights reserved.