lkrzyzanek / cxf-rt-rs-security-cors-v2x-support

Apache CXF RS Cross-Origin Resource Sharing - compatibility with CXF 2.x

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CORS support for CXF version 2.x

Apache CXF supports CORS from 2.5. This project enables this feature for CXF, version 2.x

Sources of CORS itself are copied from CXF version 2.7.10.

To make it compatible with version 2.x only method getAnnotationForMethodOrContainingClass from RequestUtil is copied to CrossOriginResourceSharingFilter because in CXF 2.x RequestUtil doesn't contain this method. Source of getAnnotationForMethodOrContainingClass is taken from the master version of RequestUtil class.

Version of the project defines against what CXF version is build.

Maven dependency

	<dependency>
		<groupId>org.jboss.community.cxf</groupId>
		<artifactId>cxf-rt-rs-security-cors-v2x-support</artifactId>
		<version>2.2.11</version>
	</dependency>

About

Apache CXF RS Cross-Origin Resource Sharing - compatibility with CXF 2.x


Languages

Language:Java 100.0%