spring.validation-context.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xmlns="http://www.springframework.org/schema/beans" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> <bean id="clearwater.shared.validator.addressValidator" class="com.worldpay.gateway.clearwater.client.core.validator.AddressValidator"> </bean> <bean id="clearwater.shared.validator.cardRequestValidator" class="com.worldpay.gateway.clearwater.client.core.validator.CardRequestValidator"> </bean> <bean id="clearwater.shared.validator.threeDSecureInfoValidator" class="com.worldpay.gateway.clearwater.client.core.validator.ThreeDSecureInfoValidator"/> <bean id="clearwater.shared.validator.urlValidator" class="com.worldpay.api.common.util.validator.UrlValidator"/> <bean id="clearwater.shared.validator.orderRequestValidator" class="com.worldpay.gateway.clearwater.client.core.validator.OrderRequestValidator"> <property name="threeDSecureInfoValidator" ref="clearwater.shared.validator.threeDSecureInfoValidator"/> <property name="commonTokenValidator" ref="clearwater.shared.validator.commonTokenValidator"/> <property name="urlValidator" ref="clearwater.shared.validator.urlValidator"/> <property name="apmRequestValidator" ref="clearwater.shared.validator.apmRequestValidator"/> </bean> <bean id="clearwater.shared.validator.commonTokenValidator" class="com.worldpay.gateway.clearwater.client.core.validator.CommonTokenValidator"> <property name="cardRequestValidator" ref="clearwater.shared.validator.cardRequestValidator"/> <property name="apmValidator" ref="clearwater.shared.validator.apmRequestValidator"/> </bean> <bean id="clearwater.shared.validator.tokenRequestValidator" class="com.worldpay.gateway.clearwater.client.core.validator.TokenRequestValidator"> <property name="commonTokenValidator" ref="clearwater.shared.validator.commonTokenValidator"/> </bean> <bean id="clearwater.shared.validator.orderAuthorizationRequestValidator" class="com.worldpay.gateway.clearwater.client.core.validator.OrderAuthorizationRequestValidator"> <property name="threeDSecureInfoValidator" ref="clearwater.shared.validator.threeDSecureInfoValidator"/> </bean> <bean id="clearwater.shared.validator.payoutRequestValidator" class="com.worldpay.gateway.clearwater.client.core.validator.PayoutRequestValidator"/> <bean id="clearwater.shared.validator.apmRequestValidator" class="com.worldpay.gateway.clearwater.client.core.validator.ApmRequestValidator"> <property name="apmToMandatoryUrlMap" ref="apmToMandatoryUrlMap"/> </bean> <util:map id="apmToMandatoryUrlMap"> <entry key="PAYPAL" value-ref="successCancelFailureUrls"/> <entry key="GIROPAY" value-ref="successCancelFailureUrls"/> <entry key="IDEAL" value-ref="successCancelFailureUrls"/> <entry key="QIWI" value-ref="successCancelPendingUrls"/> <entry key="OTHERS" value-ref="successCancelPendingUrls"/> </util:map> <util:list id="successCancelPendingUrls"> <value>SUCCESS</value> <value>CANCEL</value> <value>PENDING</value> </util:list> <util:list id="successCancelFailureUrls"> <value>SUCCESS</value> <value>CANCEL</value> <value>FAILURE</value> </util:list> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy