software.enmasse.1.0-RC25.source-code.applicationContext.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enmasse Show documentation
Show all versions of enmasse Show documentation
EnMasse is a Web application that provides a RESTful implementation of Fortress' ANSI RBAC INCITS 359 engine.
<?xml version="1.0" encoding="UTF-8"?> <beans default-autowire="byName" 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" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd"> <context:component-scan base-package="us.jts" /> <import resource="classpath:META-INF/cxf/cxf.xml" /> <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> <jaxrs:server id="restContainer" address="/"> <jaxrs:serviceBeans> <ref bean="fortressService" /> </jaxrs:serviceBeans> <jaxrs:inInterceptors> <ref bean="annotationsInterceptor"/> </jaxrs:inInterceptors> <jaxrs:outFaultInterceptors> <bean class="us.jts.enmasse.SecurityOutFaultInterceptor"/> </jaxrs:outFaultInterceptors> </jaxrs:server> <bean id="annotationsInterceptor" class="us.jts.enmasse.FortressInterceptor"> <property name="securedObject" ref="securedObject"/> </bean> <bean id="securedObject" class="us.jts.enmasse.FortressServiceImpl"/> </beans>