maguro 2004/11/21 15:18:26 Modified: modules/assembly/src/plan j2ee-server-plan.xml Log:
Replace the static registration with GeronimoLoginConfiguration with an IOC assignment of each security realm to the GLC http://nagoya.apache.org/jira/browse/GERONIMO-489 Revision Changes Path 1.38 +6 -3 openejb/modules/assembly/src/plan/j2ee-server-plan.xml Index: j2ee-server-plan.xml =================================================================== RCS file: /home/projects/openejb/scm/openejb/modules/assembly/src/plan/j2ee-server-plan.xml,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- j2ee-server-plan.xml 20 Nov 2004 07:44:19 -0000 1.37 +++ j2ee-server-plan.xml 21 Nov 2004 20:18:26 -0000 1.38 @@ -165,10 +165,13 @@ <attribute name="realmName" type="java.lang.String">geronimo-properties-realm</attribute> </gbean> - - <!-- Register GeronimoLoginConfiguration as the LoginConfiguration handler --> - <gbean name="geronimo.security:type=LoginConfiguration" class="org.apache.geronimo.security.jaas.GeronimoLoginConfiguration"/> + <gbean name="geronimo.security:type=LoginConfiguration" class="org.apache.geronimo.security.jaas.GeronimoLoginConfiguration"> + <references name="Configurations"> + <pattern>geronimo.security:type=SecurityRealm,*</pattern> + <pattern>geronimo.security:type=ConfigurationEntry,*</pattern> + </references> + </gbean> <gbean name="geronimo.security:type=SecurityService" class="org.apache.geronimo.security.SecurityService"> <attribute name="policyConfigurationFactory" type="java.lang.String">org.apache.geronimo.security.jacc.GeronimoPolicyConfigurationFactory</attribute>
