Methods Summary |
---|
public boolean | authorize(Invocation inv)
|
public void | destroy()Call this method to clean up all the bookeeping
data-structures in the SM.
|
public java.lang.Object | doAsPrivileged(java.security.PrivilegedExceptionAction pea)
|
public java.security.Principal | getCallerPrincipal()
|
public javax.security.auth.Subject | getCurrentSubject()This will return the subject associated with the current
call. If the run as subject is in effect. It will return that
subject. This is done to support the JACC specification which says
if the runas principal is in effect, that principal should be used
for making a component call.
|
public boolean | isCallerInRole(java.lang.String role)
|
public void | postInvoke(ComponentInvocation inv)This method is used by the Invocation Manager to remove
the run-as identity information that was set up using the
preInvoke
|
public void | preInvoke(ComponentInvocation inv)This sets up the security context - if not set
and does run-as related login if required
|