Class PolicyInputProcessor
- java.lang.Object
-
- org.apache.xml.security.stax.ext.AbstractInputProcessor
-
- org.apache.wss4j.policy.stax.enforcer.PolicyInputProcessor
-
- All Implemented Interfaces:
org.apache.xml.security.stax.ext.InputProcessor
public class PolicyInputProcessor extends org.apache.xml.security.stax.ext.AbstractInputProcessor
Processor to generate SecurityEvents regarding not secured elements
-
-
Constructor Summary
Constructors Constructor Description PolicyInputProcessor(PolicyEnforcer policyEnforcer, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doFinal(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
protected String
getId(org.apache.xml.security.stax.ext.stax.XMLSecEvent xmlSecEvent)
protected void
init(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
org.apache.xml.security.stax.ext.stax.XMLSecEvent
processEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
org.apache.xml.security.stax.ext.stax.XMLSecEvent
processHeaderEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
-
-
-
Constructor Detail
-
PolicyInputProcessor
public PolicyInputProcessor(PolicyEnforcer policyEnforcer, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties)
-
-
Method Detail
-
processHeaderEvent
public org.apache.xml.security.stax.ext.stax.XMLSecEvent processHeaderEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
XMLStreamException
org.apache.xml.security.exceptions.XMLSecurityException
-
processEvent
public org.apache.xml.security.stax.ext.stax.XMLSecEvent processEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
XMLStreamException
org.apache.xml.security.exceptions.XMLSecurityException
-
doFinal
public void doFinal(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
doFinal
in interfaceorg.apache.xml.security.stax.ext.InputProcessor
- Overrides:
doFinal
in classorg.apache.xml.security.stax.ext.AbstractInputProcessor
- Throws:
XMLStreamException
org.apache.xml.security.exceptions.XMLSecurityException
-
getId
protected String getId(org.apache.xml.security.stax.ext.stax.XMLSecEvent xmlSecEvent)
-
init
protected void init(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
-
-