ncope.ext.scimv2.syncope-ext-scimv2-scim-rest-cxf.2.1.5.source-code.restSCIMv2CXFContext.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of syncope-ext-scimv2-scim-rest-cxf Show documentation
Show all versions of syncope-ext-scimv2-scim-rest-cxf Show documentation
Apache Syncope Ext: SCIMv2 SCIM REST CXF
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxrs="http://cxf.apache.org/jaxrs" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> <import resource="classpath:META-INF/cxf/cxf.xml"/> <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/> <context:component-scan base-package="org.apache.syncope.ext.scimv2.cxf.service"/> <bean id="jsonProvider" class="org.apache.syncope.ext.scimv2.cxf.JacksonSCIMJsonProvider"/> <bean id="exceptionMapper" class="org.apache.syncope.ext.scimv2.cxf.SCIMExceptionMapper"/> <bean id="validationProvider" class="org.apache.cxf.validation.BeanValidationProvider"/> <bean id="validationInInterceptor" class="org.apache.cxf.jaxrs.validation.JAXRSBeanValidationInInterceptor"> <property name="provider" ref="validationProvider"/> </bean> <bean id="validationOutInterceptor" class="org.apache.cxf.jaxrs.validation.JAXRSBeanValidationOutInterceptor"> <property name="provider" ref="validationProvider"/> </bean> <bean id="gzipInInterceptor" class="org.apache.cxf.transport.common.gzip.GZIPInInterceptor"/> <bean id="gzipOutInterceptor" class="org.apache.cxf.transport.common.gzip.GZIPOutInterceptor"> <property name="threshold" value="0"/> <property name="force" value="true"/> </bean> <bean id="addETagFilter" class="org.apache.syncope.ext.scimv2.cxf.AddETagFilter"/> <bean id="wadlGenerator" class="org.apache.cxf.jaxrs.model.wadl.WadlGenerator"> <property name="applicationTitle" value="Apache Syncope SCIMv2 ${syncope.version}"/> <property name="namespacePrefix" value="syncope2"/> <property name="incrementNamespacePrefix" value="false"/> <property name="linkAnyMediaTypeToXmlSchema" value="true"/> <property name="useJaxbContextForQnames" value="true"/> <property name="addResourceAndMethodIds" value="true"/> <property name="ignoreMessageWriters" value="true"/> <property name="usePathParamsToCompareOperations" value="false"/> </bean> <jaxrs:server id="scimv2Container" address="/" basePackages="org.apache.syncope.ext.scimv2.api.service, org.apache.syncope.ext.scimv2.cxf.service" staticSubresourceResolution="true"> <jaxrs:properties> <entry key="convert.wadl.resources.to.dom" value="false"/> </jaxrs:properties> <jaxrs:inInterceptors> <ref bean="gzipInInterceptor"/> <ref bean="validationInInterceptor"/> </jaxrs:inInterceptors> <jaxrs:outInterceptors> <ref bean="gzipOutInterceptor"/> <ref bean="validationOutInterceptor"/> </jaxrs:outInterceptors> <jaxrs:providers> <ref bean="jsonProvider"/> <ref bean="exceptionMapper"/> <ref bean="addETagFilter"/> <ref bean="wadlGenerator"/> </jaxrs:providers> </jaxrs:server> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy