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.
Modifier and Type | Method and Description |
---|---|
javax.security.auth.Subject |
getSubject()
getSubject method returns the embedded subject. |
addAttribute, clone, getAttributeNames, getAttributes, getBytes, getExpiration, getName, getPrincipal, getUniqueID, getVersion, isForwardable, isValid, setReadOnly