AbstractDatabaseLoginModule.JDBCUserInfo
, LdapLoginModule.LDAPUserInfo
public class UserInfo
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<java.lang.String> |
_roleNames |
|
protected boolean |
_rolesLoaded |
Constructor | Description |
---|---|
UserInfo(java.lang.String userName,
org.eclipse.jetty.util.security.Credential credential) |
|
UserInfo(java.lang.String userName,
org.eclipse.jetty.util.security.Credential credential,
java.util.List<java.lang.String> roleNames) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
checkCredential(java.lang.Object suppliedCredential) |
|
java.util.List<java.lang.String> |
doFetchRoles() |
Should be overridden by subclasses to obtain
role info
|
void |
fetchRoles() |
|
protected org.eclipse.jetty.util.security.Credential |
getCredential() |
|
java.util.List<java.lang.String> |
getRoleNames() |
|
java.lang.String |
getUserName() |
protected java.util.List<java.lang.String> _roleNames
protected boolean _rolesLoaded
public UserInfo(java.lang.String userName, org.eclipse.jetty.util.security.Credential credential, java.util.List<java.lang.String> roleNames)
userName
- credential
- roleNames
- public UserInfo(java.lang.String userName, org.eclipse.jetty.util.security.Credential credential)
userName
- credential
- public java.util.List<java.lang.String> doFetchRoles() throws java.lang.Exception
java.lang.Exception
public void fetchRoles() throws java.lang.Exception
java.lang.Exception
public java.lang.String getUserName()
public java.util.List<java.lang.String> getRoleNames()
public boolean checkCredential(java.lang.Object suppliedCredential)
protected org.eclipse.jetty.util.security.Credential getCredential()
Copyright © 1995–2018 Webtide. All rights reserved.