Package com.sun.xml.wss.impl.filter
Class TimestampFilter
java.lang.Object
com.sun.xml.wss.impl.filter.TimestampFilter
Processes export and import of wsu:Timestamp
Message ANNOTATION is performed as follows:
if (policy resolution should happen)
// make-DPC flag turned on
resolve TimestampPolicy
write wsu:Timestamp to header
Message VALIDATION is performed as follows:
if (ADHOC processing mode)
if (policy resolution should happen)
// make-DPC flag turned on
resolve TimestampPolicy
locate wsu:Timestamp element in the header
throw Exception if more than one found
validate wsu:Timestamp (delegate to SecurityEnvironment Implementation)
else
import wsu:Timestamp element
if (POSTHOC processing mode)
construct Timestamp policy and set it on FPC
else
if (DEFAULT processing mode)
validate wsu:Timestamp
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprocess(FilterProcessingContext context) processes the time stamps and verifies whether the message is conform to time stamp policies or not
-
Field Details
-
log
-
-
Constructor Details
-
TimestampFilter
public TimestampFilter()
-
-
Method Details
-
process
processes the time stamps and verifies whether the message is conform to time stamp policies or not- Parameters:
context- FilterProcessingContext *- Throws:
XWSSecurityException
-