com.ibm.wsspi.security.auth

Interface WSSubjectWrapper

All Superinterfaces:
java.lang.Cloneable, Token

  1. public interface WSSubjectWrapper
  2. 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
  1. 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

  1. javax.security.auth.Subject getSubject( )

getSubject method returns the embedded subject.

Returns:
the embedded Subject.