Class 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
    • Field Detail

      • log

        protected static final Logger log
    • Constructor Detail

      • TimestampFilter

        public TimestampFilter()
    • Method Detail

      • process

        public static void process​(FilterProcessingContext context)
                            throws com.sun.xml.wss.XWSSecurityException
        processes the time stamps and verifies whether the message is conform to time stamp policies or not
        Parameters:
        context - FilterProcessingContext *
        Throws:
        com.sun.xml.wss.XWSSecurityException