|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.security.auth.ThreadSubject
com.ibm.security.auth.NTThreadSubject
public final class NTThreadSubject
This class provides the default implementation of ThreadSubject for 64 bit Windows 2000.
Constructor Summary | |
---|---|
NTThreadSubject()
|
Method Summary | |
---|---|
protected void |
restore()
Restore the underlying operating system thread's original identity. |
protected void |
set(Subject subject)
Set the underlying operating system thread identity. |
static void |
whoaminow()
|
Methods inherited from class com.ibm.security.auth.ThreadSubject |
---|
doAs, doAs, doAsPrivileged, doAsPrivileged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NTThreadSubject()
Method Detail |
---|
protected void set(Subject subject) throws java.lang.UnsupportedOperationException, java.lang.SecurityException
This method extracts the relevant
Principal
and/or Credential
information from the specified Subject
and associate it with the underlying operating system thread.
set
in class ThreadSubject
subject
- from which the method implementation extracts
the relevant Principal
and/or
Credential
information from the specified
Subject
. This information is then
associated with the underlying operating system thread.
java.lang.UnsupportedOperationException
- if this operation is not
supported or if this operation fails.
java.lang.SecurityException
- if the caller attempts to invoke this
method and does not have permission.protected void restore() throws java.lang.UnsupportedOperationException, java.lang.SecurityException
Implementations of this method restore the original
operating system thread identity modified
by the set
method.
restore
in class ThreadSubject
java.lang.UnsupportedOperationException
- if this operation is not
supported or if this operation fails.
java.lang.SecurityException
- if the caller attempts to invoke this
method and does not have permission.public static void whoaminow()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |