
public class PicketBoxSecurityContext extends java.lang.Object implements SecurityContext
| Constructor and Description |
|---|
PicketBoxSecurityContext(org.jboss.security.SecurityContext delegator)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.security.auth.Subject |
getAuthenticatedSubject()
Get the authenticated subject
|
java.lang.String[] |
getRoles()
Get the associated role names
|
void |
setAuthenticatedSubject(javax.security.auth.Subject subject)
Set the authenticated subject
|
public PicketBoxSecurityContext(org.jboss.security.SecurityContext delegator)
delegator - The delegatorpublic javax.security.auth.Subject getAuthenticatedSubject()
getAuthenticatedSubject in interface SecurityContextnull if unauthenticatedpublic void setAuthenticatedSubject(javax.security.auth.Subject subject)
setAuthenticatedSubject in interface SecurityContextsubject - The Subjectpublic java.lang.String[] getRoles()
getRoles in interface SecurityContextnull if noneCopyright © 2014 IronJacamar (http://www.ironjacamar.org)