maguro 2004/11/09 22:41:04
Modified: modules/itests/src/scenarios/001 openejb-jar.xml
Log:
Shared security schema.
Revision Changes Path
1.3 +37 -36 openejb/modules/itests/src/scenarios/001/openejb-jar.xml
Index: openejb-jar.xml
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/itests/src/scenarios/001/openejb-jar.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- openejb-jar.xml 12 Oct 2004 20:01:14 -0000 1.2
+++ openejb-jar.xml 10 Nov 2004 03:41:04 -0000 1.3
@@ -2,6 +2,7 @@
<openejb-jar
xmlns="http://www.openejb.org/xml/ns/openejb-jar"
+ xmlns:sec="http://geronimo.apache.org/xml/ns/security"
configId="org/openejb/scenario001"
parentId="org/openejb/Security">
@@ -22,41 +23,41 @@
</enterprise-beans>
- <security default-role="UNASSIGNED" doas-current-caller="true">
- <default-principal realm-name="public-properties-realm">
- <principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal"
name="guest"/>
- </default-principal>
-
- <role-mappings>
- <role role-name="UNASSIGNED">
- <realm realm-name="public-properties-realm">
- <principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal"
name="guest" designated-run-as="true"/>
- </realm>
- </role>
-
- <role role-name="LOW">
- <realm realm-name="public-properties-realm">
- <principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileGroupPrincipal"
name="acct" designated-run-as="true"/>
- </realm>
- </role>
-
- <role role-name="MEDIUM">
- <realm realm-name="public-properties-realm">
- <principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileGroupPrincipal"
name="it"/>
- <principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal"
name="george" designated-run-as="true"/>
- </realm>
- </role>
-
- <role role-name="HIGH">
- <realm realm-name="public-properties-realm">
- <principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileGroupPrincipal"
name="mgmt" designated-run-as="true"/>
- </realm>
- <realm realm-name="black-properties-realm">
- <principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal"
name="dain"/>
- <principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal"
name="david"/>
- </realm>
- </role>
- </role-mappings>
- </security>
+ <sec:security default-role="UNASSIGNED" doas-current-caller="true">
+ <sec:default-principal realm-name="public-properties-realm">
+ <sec:principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal"
name="guest"/>
+ </sec:default-principal>
+
+ <sec:role-mappings>
+ <sec:role role-name="UNASSIGNED">
+ <sec:realm realm-name="public-properties-realm">
+ <sec:principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal"
name="guest" designated-run-as="true"/>
+ </sec:realm>
+ </sec:role>
+
+ <sec:role role-name="LOW">
+ <sec:realm realm-name="public-properties-realm">
+ <sec:principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileGroupPrincipal"
name="acct" designated-run-as="true"/>
+ </sec:realm>
+ </sec:role>
+
+ <sec:role role-name="MEDIUM">
+ <sec:realm realm-name="public-properties-realm">
+ <sec:principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileGroupPrincipal"
name="it"/>
+ <sec:principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal"
name="george" designated-run-as="true"/>
+ </sec:realm>
+ </sec:role>
+
+ <sec:role role-name="HIGH">
+ <sec:realm realm-name="public-properties-realm">
+ <sec:principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileGroupPrincipal"
name="mgmt" designated-run-as="true"/>
+ </sec:realm>
+ <sec:realm realm-name="black-properties-realm">
+ <sec:principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal"
name="dain"/>
+ <sec:principal
class="org.apache.geronimo.security.realm.providers.PropertiesFileUserPrincipal"
name="david"/>
+ </sec:realm>
+ </sec:role>
+ </sec:role-mappings>
+ </sec:security>
</openejb-jar>