Methods Summary |
---|
static java.security.Principal | getCallerPrincipal()
if (System.getSecurityManager() == null)
{
return PrincipalInfoAction.NON_PRIVILEGED.getCallerPrincipal();
}
else
{
return PrincipalInfoAction.PRIVILEGED.getCallerPrincipal();
}
|
static java.lang.ClassLoader | getContextClassLoader()
return TCLAction.UTIL.getContextClassLoader();
|
static java.lang.Exception | getContextException()
if(System.getSecurityManager() == null)
{
return ContextInfoActions.NON_PRIVILEGED.getContextException();
}
else
{
return ContextInfoActions.PRIVILEGED.getContextException();
}
|
static javax.security.auth.Subject | getContextSubject()
if(System.getSecurityManager() == null)
{
return PolicyContextActions.NON_PRIVILEGED.getContextSubject();
}
else
{
return PolicyContextActions.PRIVILEGED.getContextSubject();
}
|
static java.lang.Object | getCredential()
if (System.getSecurityManager() == null)
{
return PrincipalInfoAction.NON_PRIVILEGED.getCredential();
}
else
{
return PrincipalInfoAction.PRIVILEGED.getCredential();
}
|
static java.security.Principal | getPrincipal()
if (System.getSecurityManager() == null)
{
return PrincipalInfoAction.NON_PRIVILEGED.getPrincipal();
}
else
{
return PrincipalInfoAction.PRIVILEGED.getPrincipal();
}
|
static org.jboss.security.RunAsIdentity | peekRunAsIdentity()
if(System.getSecurityManager() == null)
{
return RunAsIdentityActions.NON_PRIVILEGED.peek();
}
else
{
return RunAsIdentityActions.PRIVILEGED.peek();
}
|
static org.jboss.security.RunAsIdentity | popRunAsIdentity()
if(System.getSecurityManager() == null)
{
return RunAsIdentityActions.NON_PRIVILEGED.pop();
}
else
{
return RunAsIdentityActions.PRIVILEGED.pop();
}
|
static void | popSubjectContext()
if(System.getSecurityManager() == null)
{
PrincipalInfoAction.NON_PRIVILEGED.pop();
}
else
{
PrincipalInfoAction.PRIVILEGED.pop();
}
|
static void | pushRunAsIdentity(org.jboss.security.RunAsIdentity principal)
if(System.getSecurityManager() == null)
{
RunAsIdentityActions.NON_PRIVILEGED.push(principal);
}
else
{
RunAsIdentityActions.PRIVILEGED.push(principal);
}
|
static void | pushSubjectContext(java.security.Principal principal, java.lang.Object credential, javax.security.auth.Subject subject)
if(System.getSecurityManager() == null)
{
PrincipalInfoAction.NON_PRIVILEGED.push(principal, credential, subject);
}
else
{
PrincipalInfoAction.PRIVILEGED.push(principal, credential, subject);
}
|
static void | setContextClassLoader(java.lang.ClassLoader loader)
TCLAction.UTIL.setContextClassLoader(loader);
|
static void | setCredential(java.lang.Object credential)
if (System.getSecurityManager() == null)
{
PrincipalInfoAction.NON_PRIVILEGED.setCredential(credential);
}
else
{
PrincipalInfoAction.PRIVILEGED.setCredential(credential);
}
|
static void | setPrincipal(java.security.Principal principal)
if (System.getSecurityManager() == null)
{
PrincipalInfoAction.NON_PRIVILEGED.setPrincipal(principal);
}
else
{
PrincipalInfoAction.PRIVILEGED.setPrincipal(principal);
}
|