Package org.eclipse.jetty.jaas.spi
Class AbstractDatabaseLoginModule.JDBCUserInfo
- java.lang.Object
-
- org.eclipse.jetty.jaas.spi.UserInfo
-
- org.eclipse.jetty.jaas.spi.AbstractDatabaseLoginModule.JDBCUserInfo
-
- Enclosing class:
- AbstractDatabaseLoginModule
public class AbstractDatabaseLoginModule.JDBCUserInfo extends UserInfo
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.jaas.spi.UserInfo
_roleNames, _rolesLoaded
-
-
Constructor Summary
Constructors Constructor Description JDBCUserInfo(java.lang.String userName, Credential credential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
doFetchRoles()
Should be overridden by subclasses to obtain role info-
Methods inherited from class org.eclipse.jetty.jaas.spi.UserInfo
checkCredential, fetchRoles, getCredential, getRoleNames, getUserName
-
-
-
-
Constructor Detail
-
JDBCUserInfo
public JDBCUserInfo(java.lang.String userName, Credential credential)
-
-
Method Detail
-
doFetchRoles
public java.util.List<java.lang.String> doFetchRoles() throws java.lang.Exception
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:
java.lang.Exception
- if the roles cannot be retrieved
-
-