Methods Summary |
---|
static java.lang.ClassLoader | getContextClassLoader()
return TCLAction.UTIL.getContextClassLoader();
|
static java.lang.ClassLoader | getContextClassLoader(java.lang.Thread thread)
return TCLAction.UTIL.getContextClassLoader(thread);
|
public static org.jboss.security.RunAsIdentity | peekRunAsIdentity(int depth)
PrivilegedAction action = new PeekRunAsRoleAction(depth);
RunAsIdentity principal = (RunAsIdentity) AccessController.doPrivileged(action);
return principal;
|
static void | setContextClassLoader(java.lang.ClassLoader loader)
TCLAction.UTIL.setContextClassLoader(loader);
|
static void | setContextClassLoader(java.lang.Thread thread, java.lang.ClassLoader loader)
TCLAction.UTIL.setContextClassLoader(thread, loader);
|
static java.lang.String | setContextID(java.lang.String contextID)
PrivilegedAction action = new SetContextID(contextID);
String previousID = (String) AccessController.doPrivileged(action);
return previousID;
|