Package com.sun.xml.wss.impl.filter
Class TimestampFilter
- java.lang.Object
-
- com.sun.xml.wss.impl.filter.TimestampFilter
-
public class TimestampFilter extends Object
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
-
-
Constructor Summary
Constructors Constructor Description TimestampFilter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidprocess(FilterProcessingContext context)processes the time stamps and verifies whether the message is conform to time stamp policies or not
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Method Detail
-
process
public static void process(FilterProcessingContext context) throws XWSSecurityException
processes the time stamps and verifies whether the message is conform to time stamp policies or not- Parameters:
context- FilterProcessingContext *- Throws:
XWSSecurityException
-
-