public class WSAddTimestamp extends WSBaseMessage
actor, doDebug, keyIdentifierType, mustunderstand, parts, password, timeToLive, user, wssConfig| Constructor and Description |
|---|
WSAddTimestamp()
Deprecated.
replaced by
WSSecTimestamp.WSSecTimestamp() |
WSAddTimestamp(String actor)
Deprecated.
replaced by
WSSecTimestamp.WSSecTimestamp() and
WSSecHeader for actor specification. |
WSAddTimestamp(String actor,
boolean mu)
Deprecated.
replaced by
WSSecTimestamp.WSSecTimestamp() and
WSSecHeader for actor and mustunderstand
specification. |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
build(org.w3c.dom.Document doc,
int ttl)
Deprecated.
|
String |
getId()
Deprecated.
replaced by
WSSecTimestamp.getId() |
void |
setId(String id)
Deprecated.
no replacement, id is created by default in
WSSecTimestamp |
getKeyIdentifierType, insertSecurityHeader, setActor, setBodyID, setKeyIdentifierType, setMustUnderstand, setParts, setTimeToLive, setUserInfo, setWsConfig, setWsuIdpublic WSAddTimestamp()
WSSecTimestamp.WSSecTimestamp()public WSAddTimestamp(String actor)
actor - the name of the actor of the wsse:Security
headerpublic WSAddTimestamp(String actor, boolean mu)
WSSecTimestamp.WSSecTimestamp() and
WSSecHeader for actor and mustunderstand
specification.actor - The name of the actor of the wsse:Security
headermu - Set mustUnderstand to true or falsepublic org.w3c.dom.Document build(org.w3c.dom.Document doc,
int ttl)
WSSecTimestamp.build(Document, WSSecHeader) and
WSSecTimestamp.setTimeToLive(int)Timestamp to a soap envelope.
A complete Timestamp is constructed and added to the
wsse:Security header.doc - The SOAP envelope as W3C documentttl - This is the time difference in seconds between the
Created and the Expires in
Timestamp, set to zero if Expires
should not be added.Exceptionpublic void setId(String id)
WSSecTimestampid - public String getId()
WSSecTimestamp.getId()Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.