Package org.eclipse.jetty.jaas.spi
Class LdapLoginModule.LDAPUserInfo
java.lang.Object
org.eclipse.jetty.jaas.spi.UserInfo
org.eclipse.jetty.jaas.spi.LdapLoginModule.LDAPUserInfo
- Enclosing class:
- LdapLoginModule
-
Field Summary
FieldsFields inherited from class org.eclipse.jetty.jaas.spi.UserInfo
_roleNames, _rolesLoaded
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionShould be overridden by subclasses to obtain role infoMethods inherited from class org.eclipse.jetty.jaas.spi.UserInfo
checkCredential, fetchRoles, getCredential, getRoleNames, getUserName
-
Field Details
-
attributes
Attributes attributes
-
-
Constructor Details
-
LDAPUserInfo
- Parameters:
userName
- the user namecredential
- the credentialattributes
- the userAttributes
-
-
Method Details
-
doFetchRoles
Description copied from class:UserInfo
Should be overridden by subclasses to obtain role info- Overrides:
doFetchRoles
in classUserInfo
- Returns:
- List of role associated to the user
- Throws:
Exception
- if the roles cannot be retrieved
-