public abstract class AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor extends AbstractInputProcessor implements Thread.UncaughtExceptionHandler
Constructor and Description |
---|
AbstractDecryptedEventReaderInputProcessor(XMLSecurityProperties securityProperties,
SecurePart.Modifier encryptionModifier,
boolean encryptedHeader,
XMLSecStartElement xmlSecStartElement,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType,
AbstractDecryptInputProcessor abstractDecryptInputProcessor,
InboundSecurityToken inboundSecurityToken) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
handleEncryptedElement(InputProcessorChain inputProcessorChain,
XMLSecStartElement xmlSecStartElement,
InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) |
XMLSecEvent |
processNextEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next XMLEvent is requested
|
XMLSecEvent |
processNextHeaderEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next security-header XMLEvent is requested
|
void |
setDecryptionThread(Thread decryptionThread) |
void |
setXmlStreamReader(XMLStreamReader xmlStreamReader) |
void |
uncaughtException(Thread t,
Throwable e) |
addAfterProcessor, addBeforeProcessor, doFinal, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase
public AbstractDecryptedEventReaderInputProcessor(XMLSecurityProperties securityProperties, SecurePart.Modifier encryptionModifier, boolean encryptedHeader, XMLSecStartElement xmlSecStartElement, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType, AbstractDecryptInputProcessor abstractDecryptInputProcessor, InboundSecurityToken inboundSecurityToken)
public void setDecryptionThread(Thread decryptionThread)
public void setXmlStreamReader(XMLStreamReader xmlStreamReader)
public XMLSecEvent processNextHeaderEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
processNextHeaderEvent
in interface InputProcessor
processNextHeaderEvent
in class AbstractInputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic XMLSecEvent processNextEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
processNextEvent
in interface InputProcessor
processNextEvent
in class AbstractInputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursprotected abstract void handleEncryptedElement(InputProcessorChain inputProcessorChain, XMLSecStartElement xmlSecStartElement, InboundSecurityToken inboundSecurityToken, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType) throws XMLSecurityException
XMLSecurityException
public void uncaughtException(Thread t, Throwable e)
uncaughtException
in interface Thread.UncaughtExceptionHandler
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.