geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r744179 - /geronimo/server/branches/2.1/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jacc/mappingprovider/GeronimoPolicy.java
Date Fri, 13 Feb 2009 17:12:17 GMT
Author: gawor
Date: Fri Feb 13 17:12:17 2009
New Revision: 744179

URL: http://svn.apache.org/viewvc?rev=744179&view=rev
Log:
Force GeronimoPolicyConfigurationFactory class to be loaded before the new Policy is in the
place (GERONIMO-4037)

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jacc/mappingprovider/GeronimoPolicy.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jacc/mappingprovider/GeronimoPolicy.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jacc/mappingprovider/GeronimoPolicy.java?rev=744179&r1=744178&r2=744179&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jacc/mappingprovider/GeronimoPolicy.java
(original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/jacc/mappingprovider/GeronimoPolicy.java
Fri Feb 13 17:12:17 2009
@@ -56,6 +56,10 @@
             }
         }
         root.refresh();
+
+        // Force GeronimoPolicyConfigurationFactory class to be loaded
+        // before the new Policy is in the place. See GERONIMO-4037.
+        GeronimoPolicyConfigurationFactory.getSingleton();
     }
 
     public PermissionCollection getPermissions(CodeSource codesource) {



Mime
View raw message