
META-INF.spring.firearms-prohibition-query.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Unless explicitly acquired and licensed from Licensor under another license, the contents of this file are subject to the Reciprocal Public License ("RPL") Version 1.5, or subsequent versions as allowed by the RPL, and You may not copy or use this file in either source code or executable form, except in compliance with the terms and conditions of the RPL All software distributed under the RPL is provided strictly on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT, OR NON-INFRINGEMENT. See the RPL for specific language governing rights and limitations under the RPL. http://opensource.org/licenses/RPL-1.5 Copyright 2012-2015 Open Justice Broker Consortium --> <!-- Configures profile specific beans--> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cxf="http://camel.apache.org/schema/cxf" xmlns:wsa="http://cxf.apache.org/ws/addressing" xmlns:wsp="http://www.w3.org/2006/07/ws-policy" xmlns:policy="http://cxf.apache.org/policy" xmlns:util="http://www.springframework.org/schema/util" xmlns:http="http://cxf.apache.org/transports/http/configuration" xmlns:sec="http://cxf.apache.org/configuration/security" xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration" xmlns:camel="http://camel.apache.org/schema/spring" xsi:schemaLocation=" http://cxf.apache.org/transports/http-jetty/configuration http://cxf.apache.org/schemas/configuration/http-jetty.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd http://www.w3.org/2006/07/ws-policy http://www.w3.org/2006/07/ws-policy.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd http://cxf.apache.org/ws/addressing http://cxf.apache.org/schemas/ws-addr-conf.xsd http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd " profile="firearms-purchase-prohibition-query" > <!-- Firearm Purchase Prohibition Query Request Service hosted by the OJB --> <cxf:cxfEndpoint id="firearmsProhibitionQueryRequestService" address="${webapplication.firearmQuery.firearmPurchaseProhibitionQueryRequestEndpoint}" wsdlURL="classpath:ssp/Firearm_Purchase_Prohibition_Query_Request/schema/SIP_WS_1.2/Firearm_Purchase_Prohibition_Query_Request_Service.wsdl" serviceName="ojbc:Firearm-Purchase-Prohibition-Query-Request-ServiceService" endpointName="ojbc:Firearm-Purchase-Prohibition-Query-Request-Secure-Service" xmlns:ojbc="http://ojbc.org/Services/WSDL/Firearm_Purchase_Prohibition_Query_Request_Service/1.0"> <cxf:properties> <entry key="ws-security.saml-callback-handler" value-ref="ojbSamlCallbackHandler"/> <entry key="ws-security.callback-handler" value-ref="passwordCallbackHandler" /> <entry key="ws-security.signature.properties" value-ref="portalKeystoreProperties" /> <entry key="ws-security.signature.username" value="${webapplication.connector.keystoreCertificateAlias}" /> </cxf:properties> </cxf:cxfEndpoint> <!-- Firearm Purchase Prohibition Query Request and Response Endpoints --> <bean id="firearmsPurchaseProhibitionRequestProcessor" class="org.ojbc.processor.person.query.FirearmsPurchaseProhibitionRequestProcessor"> <property name="replyToAddress"><value>${webapplication.firearmQuery.firearmPurchaseProhibitionQueryReplyToEndpoint}</value></property> <property name="firearmsPurchaseProhibitionMessageProcessor" ref="firearmsPurchaseProhibitionMessageProcessor"/> <property name="requestResponseMap" ref="firearmsPurchaseProhibitionRequestResponseMap"/> <property name="maxPolls" value="${webapplication.maxPolls}"/> <property name="pollingIntervalInMillis" value="${webapplication.pollingIntervalInMillis}"/> <property name="OJBSamlMap" ref="ojbSamlMap"/> <property name="allowQueriesWithoutSAMLToken" value="${webapplication.allowQueriesWithoutSAMLToken}"/> </bean> <bean id="firearmsPurchaseProhibitionMessageProcessor" class="org.ojbc.util.camel.processor.MessageProcessor" > <property name="operationName"><value>SubmitFirearmPurchaseProhibitionQueryRequest</value></property> <property name="operationNamespace"><value>http://ojbc.org/Services/WSDL/Firearm_Purchase_Prohibition_Query_Request_Service/1.0</value></property> <property name="destinationEndpoint"><value>firearmsProhibitionQueryRequestService</value></property> </bean> <util:map map-class=" java.util.concurrent.ConcurrentHashMap" id="firearmsPurchaseProhibitionRequestResponseMap"/> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy