Package org.globus.gsi.gssapi.jaas
Class StandardSubject
- java.lang.Object
-
- org.globus.gsi.gssapi.jaas.JaasSubject
-
- org.globus.gsi.gssapi.jaas.StandardSubject
-
public class StandardSubject extends JaasSubject
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 Modifier Constructor Description protectedStandardSubject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.security.auth.SubjectgetSubject()SPI method.java.lang.ObjectrunAs(javax.security.auth.Subject subject, java.security.PrivilegedAction action)SPI method.java.lang.ObjectrunAs(javax.security.auth.Subject subject, java.security.PrivilegedExceptionAction action)SPI method.-
Methods inherited from class org.globus.gsi.gssapi.jaas.JaasSubject
doAs, doAs, getCurrentSubject, getJaasSubject
-
-
-
-
Method Detail
-
getSubject
public javax.security.auth.Subject getSubject()
Description copied from class:JaasSubjectSPI method.- Specified by:
getSubjectin classJaasSubject
-
runAs
public java.lang.Object runAs(javax.security.auth.Subject subject, java.security.PrivilegedAction action)Description copied from class:JaasSubjectSPI method.- Specified by:
runAsin classJaasSubject
-
runAs
public java.lang.Object runAs(javax.security.auth.Subject subject, java.security.PrivilegedExceptionAction action) throws java.security.PrivilegedActionExceptionDescription copied from class:JaasSubjectSPI method.- Specified by:
runAsin classJaasSubject- Throws:
java.security.PrivilegedActionException
-
-