org.apache.wss4j.policy.stax
Class PolicyInputProcessor

java.lang.Object
  extended by org.apache.xml.security.stax.ext.AbstractInputProcessor
      extended by org.apache.wss4j.policy.stax.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
PolicyInputProcessor(PolicyEnforcer policyEnforcer, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties)
           
 
Method Summary
 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 processNextEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
           
 org.apache.xml.security.stax.ext.stax.XMLSecEvent processNextHeaderEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
           
 
Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputProcessor
addAfterProcessor, addBeforeProcessor, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyInputProcessor

public PolicyInputProcessor(PolicyEnforcer policyEnforcer,
                            org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties)
Method Detail

processNextHeaderEvent

public org.apache.xml.security.stax.ext.stax.XMLSecEvent processNextHeaderEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
                                                                         throws XMLStreamException,
                                                                                org.apache.xml.security.exceptions.XMLSecurityException
Specified by:
processNextHeaderEvent in interface org.apache.xml.security.stax.ext.InputProcessor
Specified by:
processNextHeaderEvent in class org.apache.xml.security.stax.ext.AbstractInputProcessor
Throws:
XMLStreamException
org.apache.xml.security.exceptions.XMLSecurityException

processNextEvent

public org.apache.xml.security.stax.ext.stax.XMLSecEvent processNextEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
                                                                   throws XMLStreamException,
                                                                          org.apache.xml.security.exceptions.XMLSecurityException
Specified by:
processNextEvent in interface org.apache.xml.security.stax.ext.InputProcessor
Specified by:
processNextEvent in class org.apache.xml.security.stax.ext.AbstractInputProcessor
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 interface org.apache.xml.security.stax.ext.InputProcessor
Overrides:
doFinal in class org.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)


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.