|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SecurityContext Interface provides functionality for maintaining authenticated security information and access to security principals and credentials associated with a security context.
| Method Summary | |
void |
addRunAs(java.lang.String runAsIdentity,
SimplePrincipal callingPrincipal)
Make this principal the RunAs principal |
java.lang.Object |
getCallerCredential()
|
SimplePrincipal |
getCallerPrincipal()
Returns the Caller Principal. |
SimplePrincipal |
getRunAsPrincipal()
If the current component has run as identity specified in its metadata, this returns the principal associated with that run as identity, else returns null |
javax.security.auth.Subject |
getSubject()
|
boolean |
isRunAs()
Does the Invocation have a RunAs Identity ? |
void |
removeRunAs()
Remove the current RunAs principal and make the previous one, the active principal |
| Method Detail |
public SimplePrincipal getCallerPrincipal()
public SimplePrincipal getRunAsPrincipal()
public java.lang.Object getCallerCredential()
public javax.security.auth.Subject getSubject()
public void addRunAs(java.lang.String runAsIdentity,
SimplePrincipal callingPrincipal)
public void removeRunAs()
public boolean isRunAs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||