org.apache.wss4j.stax.impl.processor.input
Class SecurityHeaderInputProcessor

java.lang.Object
  extended by org.apache.xml.security.stax.ext.AbstractInputProcessor
      extended by org.apache.wss4j.stax.impl.processor.input.SecurityHeaderInputProcessor
All Implemented Interfaces:
org.apache.xml.security.stax.ext.InputProcessor

public class SecurityHeaderInputProcessor
extends org.apache.xml.security.stax.ext.AbstractInputProcessor

Processor for the Security-Header XML Structure. This processor instantiates more processors on demand


Nested Class Summary
 class SecurityHeaderInputProcessor.InternalSecurityHeaderBufferProcessor
          Temporary Processor to buffer all events until the end of the security header
 class SecurityHeaderInputProcessor.InternalSecurityHeaderReplayProcessor
          Temporary processor to replay the buffered events
 
Field Summary
protected static org.slf4j.Logger LOG
           
 
Constructor Summary
SecurityHeaderInputProcessor(WSSSecurityProperties securityProperties)
           
 
Method Summary
 org.apache.xml.security.stax.ext.stax.XMLSecEvent processNextEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
           
 org.apache.xml.security.stax.ext.stax.XMLSecEvent processNextHeaderEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
           
 
Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputProcessor
addAfterProcessor, addBeforeProcessor, doFinal, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.slf4j.Logger LOG
Constructor Detail

SecurityHeaderInputProcessor

public SecurityHeaderInputProcessor(WSSSecurityProperties securityProperties)
Method Detail

processNextHeaderEvent

public org.apache.xml.security.stax.ext.stax.XMLSecEvent processNextHeaderEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
                                                                         throws XMLStreamException,
                                                                                org.apache.xml.security.exceptions.XMLSecurityException
Specified by:
processNextHeaderEvent in interface org.apache.xml.security.stax.ext.InputProcessor
Specified by:
processNextHeaderEvent in class org.apache.xml.security.stax.ext.AbstractInputProcessor
Throws:
XMLStreamException
org.apache.xml.security.exceptions.XMLSecurityException

processNextEvent

public org.apache.xml.security.stax.ext.stax.XMLSecEvent processNextEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
                                                                   throws XMLStreamException,
                                                                          org.apache.xml.security.exceptions.XMLSecurityException
Specified by:
processNextEvent in interface org.apache.xml.security.stax.ext.InputProcessor
Specified by:
processNextEvent in class org.apache.xml.security.stax.ext.AbstractInputProcessor
Throws:
XMLStreamException
org.apache.xml.security.exceptions.XMLSecurityException


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.