- java.lang.Object
-
- org.eclipse.jetty.jaas.spi.AbstractLoginModule.JAASUser
-
- Direct Known Subclasses:
AbstractDatabaseLoginModule.JDBCUser
,LdapLoginModule.LDAPBindingUser
,LdapLoginModule.LDAPUser
- Enclosing class:
- AbstractLoginModule
public abstract static class AbstractLoginModule.JAASUser extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JAASUser(org.eclipse.jetty.security.UserPrincipal u)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
checkCredential(java.lang.Object suppliedCredential)
abstract java.util.List<java.lang.String>
doFetchRoles()
void
fetchRoles()
java.lang.String
getUserName()
void
setJAASInfo(javax.security.auth.Subject subject)
void
unsetJAASInfo(javax.security.auth.Subject subject)
-
-
-
Method Detail
-
getUserName
public java.lang.String getUserName()
-
setJAASInfo
public void setJAASInfo(javax.security.auth.Subject subject)
- Parameters:
subject
- The subject
-
unsetJAASInfo
public void unsetJAASInfo(javax.security.auth.Subject subject)
- Parameters:
subject
- The subject
-
checkCredential
public boolean checkCredential(java.lang.Object suppliedCredential)
-
fetchRoles
public void fetchRoles() throws java.lang.Exception
- Throws:
java.lang.Exception
-
doFetchRoles
public abstract java.util.List<java.lang.String> doFetchRoles() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-