cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From owu...@apache.org
Subject svn commit: r1435183 - in /cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF: applicationContext-security.xml web.xml
Date Fri, 18 Jan 2013 15:14:24 GMT
Author: owulff
Date: Fri Jan 18 15:14:24 2013
New Revision: 1435183

URL: http://svn.apache.org/viewvc?rev=1435183&view=rev
Log:
Added admin,manager,user uri for testing

Modified:
    cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF/applicationContext-security.xml
    cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF/web.xml

Modified: cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF/applicationContext-security.xml
URL: http://svn.apache.org/viewvc/cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF/applicationContext-security.xml?rev=1435183&r1=1435182&r2=1435183&view=diff
==============================================================================
--- cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF/applicationContext-security.xml
(original)
+++ cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF/applicationContext-security.xml
Fri Jan 18 15:14:24 2013
@@ -83,8 +83,10 @@
         <property name="accessDecisionManager" ref="httpRequestAccessDecisionManager"/>
         <property name="securityMetadataSource">
             <sec:filter-invocation-definition-source>
-                <sec:intercept-url pattern="/secure/**" access="ROLE_MANAGER"/>
-                <sec:intercept-url pattern="/**" access="ROLE_USER"/>
+                <sec:intercept-url pattern="/secure/manager/**" access="ROLE_MANAGER"/>
+                <sec:intercept-url pattern="/secure/admin/**" access="ROLE_ADMIN"/>
+                <sec:intercept-url pattern="/secure/user/**" access="ROLE_USER,ROLE_ADMIN,ROLE_MANAGER"/>
+                <sec:intercept-url pattern="/secure/fedservlet" access="ROLE_USER,ROLE_ADMIN,ROLE_MANAGER"/>
             </sec:filter-invocation-definition-source>
         </property>
     </bean>

Modified: cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF/web.xml?rev=1435183&r1=1435182&r2=1435183&view=diff
==============================================================================
--- cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF/web.xml (original)
+++ cxf/fediz/trunk/examples/springWebapp/src/main/webapp/WEB-INF/web.xml Fri Jan 18 15:14:24
2013
@@ -60,6 +60,21 @@
 		<servlet-name>FederationServlet</servlet-name>
 		<url-pattern>/secure/fedservlet</url-pattern>
 	</servlet-mapping>
+	
+	<servlet-mapping>
+		<servlet-name>FederationServlet</servlet-name>
+		<url-pattern>/secure/admin/fedservlet</url-pattern>
+	</servlet-mapping>
+	
+	<servlet-mapping>
+		<servlet-name>FederationServlet</servlet-name>
+		<url-pattern>/secure/user/fedservlet</url-pattern>
+	</servlet-mapping>
+	
+	<servlet-mapping>
+		<servlet-name>FederationServlet</servlet-name>
+		<url-pattern>/secure/manager/fedservlet</url-pattern>
+	</servlet-mapping>
 
  
 	<security-role>



Mime
View raw message