|
JBoss Security SPI - Aggregator 2.0.4.SP8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.SecurityContextAssociation
public class SecurityContextAssociation
Security Context association in a threadlocal
Field Summary | |
---|---|
static String |
SECURITYCONTEXT_THREADLOCAL
Flag to indicate whether threads that are spawned inherit the security context from parent Set this to false if you do not want inheritance. |
Constructor Summary | |
---|---|
SecurityContextAssociation()
|
Method Summary | |
---|---|
static void |
clearSecurityContext()
Clear the current security context |
static SecurityContext |
getSecurityContext()
Get a security context |
static boolean |
isClient()
Indicates whether we are on the client side |
static void |
setClient()
Set the VM-wide client side usage |
static void |
setSecurityContext(SecurityContext sc)
Set a security context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SECURITYCONTEXT_THREADLOCAL
Constructor Detail |
---|
public SecurityContextAssociation()
Method Detail |
---|
public static boolean isClient()
public static void setClient()
public static void setSecurityContext(SecurityContext sc)
sc
- public static SecurityContext getSecurityContext()
public static void clearSecurityContext()
|
JBoss Security SPI - Aggregator 2.0.4.SP8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |