Package org.apache.ws.security.message
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 org.apache.ws.security.message.WSBaseMessage
actor, doDebug, keyIdentifierType, mustunderstand, parts, password, timeToLive, user, wssConfig
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.WSSAddSAMLToken
(String actor) Deprecated.replaced byWSSecSAMLToken()
andWSSecHeader
for actor specification.WSSAddSAMLToken
(String actor, boolean mu) Deprecated.replaced byWSSecSAMLToken()
andWSSecHeader
for actor and mustunderstand specification. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Methods inherited from class org.apache.ws.security.message.WSBaseMessage
getKeyIdentifierType, insertSecurityHeader, setActor, setBodyID, setKeyIdentifierType, setMustUnderstand, setParts, setTimeToLive, setUserInfo, setWsConfig, setWsuId
-
Constructor Details
-
WSSAddSAMLToken
public WSSAddSAMLToken()Deprecated.replaced byWSSecSAMLToken()
Constructor. -
WSSAddSAMLToken
Deprecated.replaced byWSSecSAMLToken()
andWSSecHeader
for actor specification.Constructor.- Parameters:
actor
- the name of the actor of thewsse:Security
header
-
WSSAddSAMLToken
Deprecated.replaced byWSSecSAMLToken()
andWSSecHeader
for actor and mustunderstand specification.Constructor.- Parameters:
actor
- The name of the actor of thewsse:Security
headermu
- SetmustUnderstand
to true or false
-
-
Method Details
-
build
Deprecated.Adds a newSAMLAssertion
to a soap envelope. A completeSAMLAssertion
is added to thewsse:Security
header.- Parameters:
doc
- The SOAP enevlope as W3C documentassertion
- TODO- Returns:
- Document with UsernameToken added
-
WSSecSAMLToken()