Package org.eclipse.jetty.jaas.spi
Class AbstractLoginModule.JAASUserInfo
- java.lang.Object
-
- org.eclipse.jetty.jaas.spi.AbstractLoginModule.JAASUserInfo
-
- Enclosing class:
- AbstractLoginModule
public class AbstractLoginModule.JAASUserInfo extends java.lang.Object
JAASUserInfo This class unites the UserInfo data with jaas concepts such as Subject and Principals
-
-
Constructor Summary
Constructors Constructor Description JAASUserInfo(UserInfo u)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkCredential(java.lang.Object suppliedCredential)
void
fetchRoles()
java.security.Principal
getPrincipal()
java.lang.String
getUserName()
void
setJAASInfo(javax.security.auth.Subject subject)
void
unsetJAASInfo(javax.security.auth.Subject subject)
-
-
-
Constructor Detail
-
JAASUserInfo
public JAASUserInfo(UserInfo u)
-
-
Method Detail
-
getUserName
public java.lang.String getUserName()
-
getPrincipal
public java.security.Principal getPrincipal()
-
setJAASInfo
public void setJAASInfo(javax.security.auth.Subject subject)
-
unsetJAASInfo
public void unsetJAASInfo(javax.security.auth.Subject subject)
-
checkCredential
public boolean checkCredential(java.lang.Object suppliedCredential)
-
fetchRoles
public void fetchRoles() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-