public interface ThreadIdentityService
Modifier and Type | Method and Description |
---|---|
boolean |
isAppThreadIdentityEnabled()
Determines if application thread identity is enabled.
|
void |
reset(java.lang.Object tokenReturnedFromSet)
Reset the native thread identity with the SAF identity represented by the token
parameter.
|
java.lang.Object |
runAsServer()
Called whenever the server must perform an internal operation as the server ID.
|
java.lang.Object |
set(javax.security.auth.Subject subject)
The set method is invoked at the following times:
1.
|
java.lang.Object set(javax.security.auth.Subject subject)
subject
- The subject to set as the thread identity.void reset(java.lang.Object tokenReturnedFromSet)
tokenReturnedFromSet
- The token returned by a previous call to set.java.lang.Object runAsServer()
boolean isAppThreadIdentityEnabled()