Class UserInfo
java.lang.Object
org.eclipse.jetty.jaas.spi.UserInfo
- Direct Known Subclasses:
AbstractDatabaseLoginModule.JDBCUserInfo, LdapLoginModule.LDAPUserInfo
UserInfo
This is the information read from the external source
about a user.
Can be cached.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUserInfo(String userName, Credential credential) UserInfo(String userName, Credential credential, List<String> roleNames) -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckCredential(Object suppliedCredential) Should be overridden by subclasses to obtain role infovoidprotected Credential
-
Field Details
-
_userName
-
_credential
-
_roleNames
-
_rolesLoaded
protected boolean _rolesLoaded
-
-
Constructor Details
-
UserInfo
- Parameters:
userName- the user namecredential- the credentialroleNames- aListof role name
-
UserInfo
- Parameters:
userName- the user namecredential- the credential
-
-
Method Details
-
doFetchRoles
-
fetchRoles
-
getUserName
-
getRoleNames
-
checkCredential
-
getCredential
-