com.ibm.wsspi.security.auth
Interface WSSubjectWrapper
All Superinterfaces:
java.lang.Cloneable, Token
- public interface WSSubjectWrapper
- extends Token
WSSubjectWrapper embeds a JAAS Subject. When enabling identity mapping per every RMI/IIOP request, the original caller Subject is embedded in a WSSubjectWrapper object. The WSSubjectWrapper implementation is implementated such that it cannot be propagated to downstream servers. When outbound identity mapping is enabled, the original caller subject is recovered from the WSSubjectWrapper object and set on the thread before invoking downstream servers.
Since:
7.0
Version:
1.0
See Also:
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getSubject()
getSubject method returns the embedded subject.
|
Methods inherited from interface com.ibm.wsspi.security.token.Token |
---|
addAttribute, clone, getAttributeNames, getAttributes, getBytes, getExpiration, getName, getPrincipal, getUniqueID, getVersion, isForwardable, isValid, setReadOnly |
Method Detail
getSubject
- javax.security.auth.Subject getSubject( )
Returns:
the embedded Subject.
getSubject
method returns the embedded subject.