geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r371127 - /geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/jacc/ApplicationPolicyConfigurationManager.java
Date Sat, 21 Jan 2006 22:30:36 GMT
Author: djencks
Date: Sat Jan 21 14:30:34 2006
New Revision: 371127

URL: http://svn.apache.org/viewcvs?rev=371127&view=rev
Log:
GERONIMO-1473 Follow spec on clearing PolicyConfiguration before stuffing the permissions
in

Modified:
    geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/jacc/ApplicationPolicyConfigurationManager.java

Modified: geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/jacc/ApplicationPolicyConfigurationManager.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/jacc/ApplicationPolicyConfigurationManager.java?rev=371127&r1=371126&r2=371127&view=diff
==============================================================================
--- geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/jacc/ApplicationPolicyConfigurationManager.java
(original)
+++ geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/jacc/ApplicationPolicyConfigurationManager.java
Sat Jan 21 14:30:34 2006
@@ -60,7 +60,7 @@
             String contextID = (String) entry.getKey();
             ComponentPermissions componentPermissions = (ComponentPermissions) entry.getValue();
 
-            PolicyConfiguration policyConfiguration = policyConfigurationFactory.getPolicyConfiguration(contextID,
false);
+            PolicyConfiguration policyConfiguration = policyConfigurationFactory.getPolicyConfiguration(contextID,
true);
 //            if (policyConfiguration != policyConfigurationFactory.getPolicyConfiguration(contextID,
false)) {
 //                throw new IllegalStateException("JACC implementation is invalid: returns
different instances of PolicyConfiguration for the same contextID");
 //            }



Mime
View raw message