Class WSSAddSAMLToken
java.lang.Object
org.apache.ws.security.message.WSBaseMessage
org.apache.ws.security.message.WSSAddSAMLToken
Builds a WS SAML Assertion and inserts it into the SOAP Envelope. Refer to
the WS specification, SAML Token profile
- Author:
- Davanum Srinivas (dims@yahoo.com).
-
Field Summary
Fields inherited from class WSBaseMessage
actor, doDebug, keyIdentifierType, mustunderstand, parts, password, timeToLive, user, wssConfig -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.WSSAddSAMLToken(String actor) Deprecated.replaced byWSSecSAMLToken()andWSSecHeaderfor actor specification.WSSAddSAMLToken(String actor, boolean mu) Deprecated.replaced byWSSecSAMLToken()andWSSecHeaderfor actor and mustunderstand specification. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Methods inherited from class WSBaseMessage
getKeyIdentifierType, insertSecurityHeader, setActor, setBodyID, setKeyIdentifierType, setMustUnderstand, setParts, setTimeToLive, setUserInfo, setWsConfig, setWsuId
-
Constructor Details
-
WSSAddSAMLToken
-
WSSAddSAMLToken
Deprecated.replaced byWSSecSAMLToken()andWSSecHeaderfor actor specification.Constructor.- Parameters:
actor- the name of the actor of thewsse:Securityheader
-
WSSAddSAMLToken
Deprecated.replaced byWSSecSAMLToken()andWSSecHeaderfor actor and mustunderstand specification.Constructor.- Parameters:
actor- The name of the actor of thewsse:Securityheadermu- SetmustUnderstandto true or false
-
-
Method Details
-
build
Deprecated.Adds a newSAMLAssertionto a soap envelope. A completeSAMLAssertionis added to thewsse:Securityheader.- Parameters:
doc- The SOAP enevlope as W3C documentassertion- TODO- Returns:
- Document with UsernameToken added
-
WSSecSAMLToken()