|
|||||||||||
| 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.WSAddTimestamp
Builds a WS Timestamp and inserts it into the SOAP Envelope. Refer to the WS specification 1.0. chapter 10 / appendix A.2
| Field Summary |
| Fields inherited from class org.apache.ws.security.message.WSBaseMessage |
actor, doDebug, keyIdentifierType, mustunderstand, parts, password, timeToLive, user, wssConfig |
| Constructor Summary | |
WSAddTimestamp()
Constructor. |
|
WSAddTimestamp(java.lang.String actor)
Constructor. |
|
WSAddTimestamp(java.lang.String actor,
boolean mu)
Constructor. |
|
| Method Summary | |
org.w3c.dom.Document |
build(org.w3c.dom.Document doc,
int ttl)
Adds a new Timestamp to a soap envelope. |
java.lang.String |
getId()
Get the wsu:Id value of the Timestamp |
void |
setId(java.lang.String id)
Set the wsu:Id value of the Timestamp |
| 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 |
| Constructor Detail |
public WSAddTimestamp()
public WSAddTimestamp(java.lang.String actor)
actor - the name of the actor of the wsse:Security
header
public WSAddTimestamp(java.lang.String actor,
boolean mu)
actor - The name of the actor of the wsse:Security
headermu - Set mustUnderstand to true or false| Method Detail |
public org.w3c.dom.Document build(org.w3c.dom.Document doc,
int ttl)
Timestamp to a soap envelope.
A complete Timestamp is constructed and added to the
wsse:Security header.
doc - The SOAP enevlope 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.
java.lang.Exceptionpublic void setId(java.lang.String id)
id - public java.lang.String getId()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||