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 SecurityContext
null
if unauthenticatedpublic void setAuthenticatedSubject(javax.security.auth.Subject subject)
setAuthenticatedSubject
in interface SecurityContext
subject
- The Subjectpublic java.lang.String[] getRoles()
getRoles
in interface SecurityContext
null
if noneCopyright © 2014 IronJacamar (http://www.ironjacamar.org)