public class XMLSecurityInputProcessor extends AbstractInputProcessor
Modifier and Type | Class and Description |
---|---|
class |
XMLSecurityInputProcessor.InternalBufferProcessor
Temporary Processor to buffer all events until the end of the required actions
|
static class |
XMLSecurityInputProcessor.InternalReplayProcessor
Temporary processor to replay the buffered events
|
Constructor and Description |
---|
XMLSecurityInputProcessor(XMLSecurityProperties securityProperties) |
Modifier and Type | Method and Description |
---|---|
void |
doFinal(InputProcessorChain inputProcessorChain)
Will be called when the whole document is processed.
|
XMLSecEvent |
processEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next XMLEvent is requested
|
XMLSecEvent |
processHeaderEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next security-header XMLEvent is requested
|
addAfterProcessor, addBeforeProcessor, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase
public XMLSecurityInputProcessor(XMLSecurityProperties securityProperties)
public XMLSecEvent processHeaderEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic XMLSecEvent processEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic void doFinal(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
doFinal
in interface InputProcessor
doFinal
in class AbstractInputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.