IBM WebSphere Application ServerTM
Release 8

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
 javax.security.auth.Subject 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()

getSubject method returns the embedded subject.

Returns:
the embedded Subject.

IBM WebSphere Application ServerTM
Release 8