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
|
Method Summary |
static void |
process(FilterProcessingContext context)
processes the time stamps and verifies whether the message is conform to time stamp policies or not |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Logger log
TimestampFilter
public TimestampFilter()
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
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.