org.apache.ws.security.message
Class WSSAddSAMLToken
java.lang.Object
org.apache.ws.security.message.WSBaseMessage
org.apache.ws.security.message.WSSAddSAMLToken
- public class WSSAddSAMLToken
- extends WSBaseMessage
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).
|
Method Summary |
org.w3c.dom.Document |
build(org.w3c.dom.Document doc,
org.opensaml.SAMLAssertion assertion)
Adds a new SAMLAssertion to a soap envelope. |
| Methods inherited from class org.apache.ws.security.message.WSBaseMessage |
getKeyIdentifierType, insertSecurityHeader, setActor, setBodyID, setKeyIdentifierType, setMustUnderstand, setParts, setTimeToLive, setUserInfo, setWsConfig, setWsuId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSSAddSAMLToken
public WSSAddSAMLToken()
- Constructor.
WSSAddSAMLToken
public WSSAddSAMLToken(java.lang.String actor)
- Constructor.
- Parameters:
actor - the name of the actor of the wsse:Security
header
WSSAddSAMLToken
public WSSAddSAMLToken(java.lang.String actor,
boolean mu)
- Constructor.
- Parameters:
actor - The name of the actor of the wsse:Security
headermu - Set mustUnderstand to true or false
build
public org.w3c.dom.Document build(org.w3c.dom.Document doc,
org.opensaml.SAMLAssertion assertion)
- Adds a new
SAMLAssertion to a soap envelope.
A complete SAMLAssertion is added to the
wsse:Security header.
- Parameters:
doc - The SOAP enevlope as W3C documentassertion - TODO
- Returns:
- Document with UsernameToken added
Copyright © 2004-2006 Apache Web Services. All Rights Reserved.