|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
Field Summary |
Fields inherited from class org.apache.ws.security.message.WSBaseMessage |
actor, doDebug, keyIdentifierType, mustunderstand, parts, password, timeToLive, user, wssConfig |
Constructor Summary | |
WSSAddSAMLToken()
Constructor. |
|
WSSAddSAMLToken(java.lang.String actor)
Constructor. |
|
WSSAddSAMLToken(java.lang.String actor,
boolean mu)
Constructor. |
|
WSSAddSAMLToken(WSSConfig wssConfig,
java.lang.String actor,
boolean mu)
Constructor. |
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, setWsuId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WSSAddSAMLToken()
public WSSAddSAMLToken(java.lang.String actor)
actor
- the name of the actor of the wsse:Security
headerpublic WSSAddSAMLToken(java.lang.String actor, boolean mu)
actor
- The name of the actor of the wsse:Security
headermu
- Set mustUnderstand
to true or falsepublic WSSAddSAMLToken(WSSConfig wssConfig, java.lang.String actor, boolean mu)
wssConfig
- Configuration options for processing and building the wsse:Security
headeractor
- The name of the actor of the wsse:Security
headermu
- Set mustUnderstand
to true or falseMethod Detail |
public org.w3c.dom.Document build(org.w3c.dom.Document doc, org.opensaml.SAMLAssertion assertion)
SAMLAssertion
to a soap envelope.
A complete SAMLAssertion
is added to the
wsse:Security
header.
doc
- The SOAP enevlope as W3C document
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |