Package org.apache.ws.security.message
Class WSAddSignatureConfirmation
java.lang.Object
org.apache.ws.security.message.WSBaseMessage
org.apache.ws.security.message.WSAddSignatureConfirmation
Builds a WS SignatureConfirmation and inserts it into the SOAP Envelope.
- Author:
- Werner Dittmann (Werner.Dittmann@t-online.de).
-
Field Summary
Fields inherited from class org.apache.ws.security.message.WSBaseMessage
actor, doDebug, keyIdentifierType, mustunderstand, parts, password, timeToLive, user, wssConfig
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.WSAddSignatureConfirmation
(String actor) Deprecated.replaced byWSSecSignatureConfirmation()
andWSSecHeader
for actor specification.WSAddSignatureConfirmation
(String actor, boolean mu) Deprecated.replaced byWSSecSignatureConfirmation()
andWSSecHeader
for actor and mustunderstand specification. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getId()
Deprecated.replaced byWSSecSignatureConfirmation.getId()
void
Deprecated.no replacement, id is created by default inWSSecSignatureConfirmation
Methods inherited from class org.apache.ws.security.message.WSBaseMessage
getKeyIdentifierType, insertSecurityHeader, setActor, setBodyID, setKeyIdentifierType, setMustUnderstand, setParts, setTimeToLive, setUserInfo, setWsConfig, setWsuId
-
Constructor Details
-
WSAddSignatureConfirmation
public WSAddSignatureConfirmation()Deprecated.replaced byWSSecSignatureConfirmation()
Constructor. -
WSAddSignatureConfirmation
Deprecated.replaced byWSSecSignatureConfirmation()
andWSSecHeader
for actor specification.Constructor.- Parameters:
actor
- the name of the actor of thewsse:Security
header
-
WSAddSignatureConfirmation
Deprecated.replaced byWSSecSignatureConfirmation()
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 newSignatureConfirmation
to a soap envelope. A completeSignatureConfirmation
is constructed and added to thewsse:Security
header.- Parameters:
doc
- The SOAP enevlope as W3C documentsigVal
- the Signature value. This will be the content of the "Value" attribute.- Returns:
- Document with SignatureConfirmation added
-
setId
Deprecated.no replacement, id is created by default inWSSecSignatureConfirmation
Set the wsu:Id value of the SignatureConfirmation- Parameters:
id
-
-
getId
Deprecated.replaced byWSSecSignatureConfirmation.getId()
Get the wsu:Id value of the SignatureConfirmation- Returns:
- Returns the wsu:id value
-
WSSecSignatureConfirmation()