Class SAMLTokenInputHandler
java.lang.Object
org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler
org.apache.wss4j.stax.impl.processor.input.SAMLTokenInputHandler
- All Implemented Interfaces:
org.apache.xml.security.stax.ext.XMLSecurityHeaderHandler
public class SAMLTokenInputHandler
extends org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler
Processor for the SAML Assertion XML Structure
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties, Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> eventQueue, Integer index) protected <T> TparseStructure(Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> eventDeque, int index, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties) parseXMLEvent(org.apache.xml.security.stax.ext.stax.XMLSecEvent xmlSecEvent, Node currentNode, Document document) Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler
getElementPath, getResponsibleStartXMLEvent, getResponsibleXMLSecEvents
-
Constructor Details
-
SAMLTokenInputHandler
public SAMLTokenInputHandler()
-
-
Method Details
-
handle
public void handle(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties, Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> eventQueue, Integer index) throws org.apache.xml.security.exceptions.XMLSecurityException - Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
parseStructure
protected <T> T parseStructure(Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> eventDeque, int index, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties) throws org.apache.xml.security.exceptions.XMLSecurityException - Overrides:
parseStructurein classorg.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
parseXMLEvent
public Node parseXMLEvent(org.apache.xml.security.stax.ext.stax.XMLSecEvent xmlSecEvent, Node currentNode, Document document) throws WSSecurityException - Throws:
WSSecurityException
-