org.apache.camel.component.xmlsecurity.processor
Class XmlVerifierConfiguration

java.lang.Object
  extended by org.apache.camel.component.xmlsecurity.processor.XmlSignatureConfiguration
      extended by org.apache.camel.component.xmlsecurity.processor.XmlVerifierConfiguration
All Implemented Interfaces:
Cloneable, org.apache.camel.CamelContextAware

public class XmlVerifierConfiguration
extends XmlSignatureConfiguration


Constructor Summary
XmlVerifierConfiguration()
           
 
Method Summary
 XmlVerifierConfiguration copy()
           
 KeySelector getKeySelector()
           
 Object getOutputNodeSearch()
           
 String getOutputNodeSearchType()
           
 Boolean getRemoveSignatureElements()
           
 Boolean getSecureValidation()
           
 ValidationFailedHandler getValidationFailedHandler()
           
 XmlSignature2Message getXmlSignature2Message()
           
 XmlSignatureChecker getXmlSignatureChecker()
           
 void setCamelContext(org.apache.camel.CamelContext camelContext)
           
 void setKeySelector(KeySelector keySelector)
           
 void setKeySelector(String keySelectorName)
          Sets the reference name for a KeySelector that can be found in the registry.
 void setOutputNodeSearch(Object outputNodeSearch)
          Sets the output node search value for determining the node from the XML signature document which shall be set to the output message body.
 void setOutputNodeSearchType(String outputNodeSearchType)
          Determines the search type for determining the output node which is serialized into the output message bodyF.
 void setRemoveSignatureElements(Boolean removeSignatureElements)
          Indicator whether the XML signature elements (elements with local name "Signature" and namesapce ""http://www.w3.org/2000/09/xmldsig#"") shall be removed from the document set to the output message.
 void setSecureValidation(Boolean secureValidation)
           
 void setValidationFailedHandler(String validationFailedHandlerName)
           
 void setValidationFailedHandler(ValidationFailedHandler validationFailedHandler)
           
 void setXmlSignature2Message(String xmlSignature2Message)
          Sets the reference name for the to-message instance that can be found in the registry.
 void setXmlSignature2Message(XmlSignature2Message xmlSignature2Message)
           
 void setXmlSignatureChecker(String xmlSignatureCheckerName)
          Sets the reference name for a application checker that can be found in the registry.
 void setXmlSignatureChecker(XmlSignatureChecker xmlSignatureChecker)
           
 
Methods inherited from class org.apache.camel.component.xmlsecurity.processor.XmlSignatureConfiguration
getBaseUri, getCamelContext, getClearHeaders, getCryptoContextProperties, getDisallowDoctypeDecl, getOmitXmlDeclaration, getUriDereferencer, setBaseUri, setClearHeaders, setCryptoContextProperties, setDisallowDoctypeDecl, setOmitXmlDeclaration, setUriDereferencer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlVerifierConfiguration

public XmlVerifierConfiguration()
Method Detail

copy

public XmlVerifierConfiguration copy()

setCamelContext

public void setCamelContext(org.apache.camel.CamelContext camelContext)
Specified by:
setCamelContext in interface org.apache.camel.CamelContextAware
Overrides:
setCamelContext in class XmlSignatureConfiguration

setKeySelector

public void setKeySelector(KeySelector keySelector)

getKeySelector

public KeySelector getKeySelector()

setKeySelector

public void setKeySelector(String keySelectorName)
Sets the reference name for a KeySelector that can be found in the registry.


getXmlSignatureChecker

public XmlSignatureChecker getXmlSignatureChecker()

setXmlSignatureChecker

public void setXmlSignatureChecker(XmlSignatureChecker xmlSignatureChecker)

setXmlSignatureChecker

public void setXmlSignatureChecker(String xmlSignatureCheckerName)
Sets the reference name for a application checker that can be found in the registry.


getXmlSignature2Message

public XmlSignature2Message getXmlSignature2Message()

setXmlSignature2Message

public void setXmlSignature2Message(XmlSignature2Message xmlSignature2Message)

setXmlSignature2Message

public void setXmlSignature2Message(String xmlSignature2Message)
Sets the reference name for the to-message instance that can be found in the registry.


getValidationFailedHandler

public ValidationFailedHandler getValidationFailedHandler()

setValidationFailedHandler

public void setValidationFailedHandler(ValidationFailedHandler validationFailedHandler)

setValidationFailedHandler

public void setValidationFailedHandler(String validationFailedHandlerName)

getOutputNodeSearch

public Object getOutputNodeSearch()

setOutputNodeSearch

public void setOutputNodeSearch(Object outputNodeSearch)
Sets the output node search value for determining the node from the XML signature document which shall be set to the output message body. The class of the value depends on the type of the output node search. The output node search is forwarded to XmlSignature2Message.


getOutputNodeSearchType

public String getOutputNodeSearchType()

setOutputNodeSearchType

public void setOutputNodeSearchType(String outputNodeSearchType)
Determines the search type for determining the output node which is serialized into the output message bodyF. See #setOutputNodeSearch(String). The supported default search types you can find in DefaultXmlSignature2Message.

Parameters:
outputNodeSearchType -

getRemoveSignatureElements

public Boolean getRemoveSignatureElements()

setRemoveSignatureElements

public void setRemoveSignatureElements(Boolean removeSignatureElements)
Indicator whether the XML signature elements (elements with local name "Signature" and namesapce ""http://www.w3.org/2000/09/xmldsig#"") shall be removed from the document set to the output message. Normally, this is only necessary, if the XML signature is enveloped. The default value is Boolean.FALSE. This parameter is forwarded to XmlSignature2Message.

This indicator has no effect if the output node search is of type DefaultXmlSignature2Message.OUTPUT_NODE_SEARCH_TYPE_DEFAULT.F


getSecureValidation

public Boolean getSecureValidation()

setSecureValidation

public void setSecureValidation(Boolean secureValidation)


Apache Camel