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 |
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
|
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 processHeaderEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
processHeaderEvent
in interface InputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic XMLSecEvent processEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
processEvent
in interface InputProcessor
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–2020 The Apache Software Foundation. All rights reserved.