Class StandardSubject
java.lang.Object
org.globus.gsi.gssapi.jaas.JaasSubject
org.globus.gsi.gssapi.jaas.StandardSubject
Standard JAAS implementation of the JAAS Subject helper API.
This implementation (because of a problem in JAAS) can cut off
the Subject object from the thread context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSPI method.runAs(Subject subject, PrivilegedAction action) SPI method.runAs(Subject subject, PrivilegedExceptionAction action) SPI method.Methods inherited from class JaasSubject
doAs, doAs, getCurrentSubject, getJaasSubject
-
Constructor Details
-
StandardSubject
protected StandardSubject()
-
-
Method Details
-
getSubject
Description copied from class:JaasSubjectSPI method.- Specified by:
getSubjectin classJaasSubject
-
runAs
-
runAs
public Object runAs(Subject subject, PrivilegedExceptionAction action) throws PrivilegedActionException Description copied from class:JaasSubjectSPI method.- Specified by:
runAsin classJaasSubject- Throws:
PrivilegedActionException
-