Package org.eclipse.jetty.jaas.spi
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 TypeMethodDescriptionboolean
checkCredential
(Object suppliedCredential) Should be overridden by subclasses to obtain role infovoid
protected Credential
-
Field Details
-
_userName
-
_credential
-
_roleNames
-
_rolesLoaded
protected boolean _rolesLoaded
-
-
Constructor Details
-
UserInfo
- Parameters:
userName
- the user namecredential
- the credentialroleNames
- aList
of role name
-
UserInfo
- Parameters:
userName
- the user namecredential
- the credential
-
-
Method Details