[jboss-cvs] JBossAS SVN: r81977 - in projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc: deploy and 2 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 2 14:32:21 EST 2008
Author: anil.saldhana at jboss.com
Date: 2008-12-02 14:32:21 -0500 (Tue, 02 Dec 2008)
New Revision: 81977
Added:
projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deploy/security/
projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deploy/security/security-policies-jboss-beans.xml
projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deployers/
projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deployers/jacc-jboss-beans.xml
Removed:
projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deploy/jacc-service.xml
Log:
EJBTHREE-1608: sync up ejb3 jacc config
Deleted: projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deploy/jacc-service.xml
===================================================================
--- projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deploy/jacc-service.xml 2008-12-02 17:33:45 UTC (rev 81976)
+++ projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deploy/jacc-service.xml 2008-12-02 19:32:21 UTC (rev 81977)
@@ -1,58 +0,0 @@
-
-<server>
- <mbean code="org.jboss.security.jacc.DelegatingPolicy"
- name="jboss.security:service=JaccPolicyProvider"
- xmbean-dd="">
- <xmbean>
- <attribute access="read-only" getMethod="getPolicyProxy">
- <description>The java.security.Policy implementation</description>
- <name>PolicyProxy</name>
- <type>java.security.Policy</type>
- </attribute>
- <attribute access="read-write" getMethod="getExternalPermissionTypes"
- setMethod="setExternalPermissionTypes">
- <description>The types of non-javax.security.jacc permissions that
- should be validated against this policy</description>
- <name>ExternalPermissionTypes</name>
- <type>[Ljava.lang.Class;</type>
- </attribute>
- <operation>
- <name>listContextPolicies</name>
- <return-type>java.lang.String</return-type>
- </operation>
- </xmbean>
- <!-- Not used, just here to test that custom permissions don't break the
- current behavior of javax.security.jacc.* permissions.
- -->
- <attribute name="ExternalPermissionTypes">org.jboss.security.srp.SRPPermission</attribute>
- </mbean>
- <mbean code="org.jboss.security.jacc.SecurityService"
- name="jboss.security:service=JaccSecurityService"
- xmbean-dd="">
- <xmbean>
- <descriptors>
- <injection id="MBeanServerType" setMethod="setMBeanServer" />
- <!--injection id="ObjectNameType" setMethod="setObjectName" /-->
- </descriptors>
- <attribute access="read-write" getMethod="getPolicyName" setMethod="setPolicyName">
- <description>The policy provider MBean name</description>
- <name>PolicyName</name>
- <type>javax.management.ObjectName</type>
- </attribute>
- <attribute access="read-write" getMethod="getPolicyAttributeName"
- setMethod="setPolicyAttributeName">
- <description>The Policy attribute name on the PolicyName MBean</description>
- <name>PolicyAttributeName</name>
- <type>java.lang.String</type>
- </attribute>
- <operation>
- <name>start</name>
- </operation>
- <operation>
- <name>stop</name>
- </operation>
- </xmbean>
- <attribute name="PolicyName">jboss.security:service=JaccPolicyProvider</attribute>
- <attribute name="PolicyAttributeName">PolicyProxy</attribute>
- </mbean>
-</server>
Added: projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deploy/security/security-policies-jboss-beans.xml
===================================================================
--- projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deploy/security/security-policies-jboss-beans.xml (rev 0)
+++ projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deploy/security/security-policies-jboss-beans.xml 2008-12-02 19:32:21 UTC (rev 81977)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <application-policy xmlns="urn:jboss:security-beans:1.0" name="jboss-web-policy" extends="other">
+ <authorization>
+ <policy-module code="org.jboss.security.authorization.modules.JACCAuthorizationModule" flag="required"/>
+ </authorization>
+ </application-policy>
+
+ <application-policy xmlns="urn:jboss:security-beans:1.0" name="jboss-ejb-policy" extends="other">
+ <authorization>
+ <policy-module code="org.jboss.security.authorization.modules.JACCAuthorizationModule" flag="required"/>
+ </authorization>
+ </application-policy>
+
+ <application-policy xmlns="urn:jboss:security-beans:1.0" name="jacc-test" extends="other">
+ <authorization>
+ <policy-module code="org.jboss.security.authorization.modules.JACCAuthorizationModule" flag="required"/>
+ </authorization>
+ </application-policy>
+
+</deployment>
Added: projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deployers/jacc-jboss-beans.xml
===================================================================
--- projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deployers/jacc-jboss-beans.xml (rev 0)
+++ projects/ejb3/trunk/testsuite/src/test/resources/test-configs/ejb3-jacc/deployers/jacc-jboss-beans.xml 2008-12-02 19:32:21 UTC (rev 81977)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ JACC configuration
+ $Id: jacc-jboss-beans.xml 76417 2008-07-29 12:57:48Z adrian at jboss.org $
+-->
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+ <bean name="JaccPolicyProvider"
+ class="org.jboss.security.jacc.DelegatingPolicy">
+ <constructor factoryMethod="getInstance"
+ factoryClass="org.jboss.security.jacc.DelegatingPolicy"/>
+ </bean>
+
+ <bean class="org.jboss.security.jacc.SecurityService"
+ name="JaccSecurityService">
+ <property name="policy"><inject bean="JaccPolicyProvider" property="policyProxy"/></property>
+ </bean>
+</deployment>
More information about the jboss-cvs-commits
mailing list