Class SecurityHeaderReorderProcessor

  • All Implemented Interfaces:

    public class SecurityHeaderReorderProcessor
    The basic ordering (token dependencies) is given through the processor order but we have more ordering criterias e.g. signed timestamp and strict header ordering ws-policy. To be able to sign a timestamp the processor must be inserted before the signature processor but that means that the timestamp is below the signature in the sec-header. Because of the highly dynamic nature of the processor chain (and encryption makes it far more worse) we have to order the headers afterwards. So that is what this processor does, the final header reordering...
    • Field Summary

      • Fields inherited from class

        action, actionOrder, securityProperties
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​( outputProcessorChain)  
      void processEvent​( xmlSecEvent, outputProcessorChain)  
      • Methods inherited from class

        addAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, doFinal, getAction, getActionOrder, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, outputAsEvent, outputDOMElement, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties
    • Constructor Detail

      • SecurityHeaderReorderProcessor

        public SecurityHeaderReorderProcessor()
    • Method Detail

      • init

        public void init​( outputProcessorChain)
        Specified by:
        init in interface
        init in class
      • processEvent

        public void processEvent​( xmlSecEvent,
                          throws XMLStreamException,