|
||||||||||
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
public class 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()
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. |
Method Summary | |
---|---|
org.w3c.dom.Document |
build(org.w3c.dom.Document doc,
int ttl)
Deprecated. replaced by WSSecTimestamp.build(Document, WSSecHeader) and
WSSecTimestamp.setTimeToLive(int) |
String |
getId()
Deprecated. replaced by WSSecTimestamp.getId() |
void |
setId(String id)
Deprecated. no replacement, id is created by default in WSSecTimestamp |
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()
WSSecTimestamp.WSSecTimestamp()
public WSAddTimestamp(String actor)
WSSecTimestamp.WSSecTimestamp()
and
WSSecHeader
for actor specification.
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 falseMethod Detail |
---|
public 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.
Exception
public void setId(String id)
WSSecTimestamp
id
- public String getId()
WSSecTimestamp.getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |