geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r411682 - /geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/jacc/ApplicationPolicyConfigurationManager.java
Date Mon, 05 Jun 2006 05:52:22 GMT
Author: djencks
Date: Sun Jun  4 22:52:22 2006
New Revision: 411682

URL: http://svn.apache.org/viewvc?rev=411682&view=rev
Log:
GERONIMO-1473 Follow spec on clearing PolicyConfiguration before stuffing the permissions
in (from dead-1.2)

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/viewvc/geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/jacc/ApplicationPolicyConfigurationManager.java?rev=411682&r1=411681&r2=411682&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
Sun Jun  4 22:52:22 2006
@@ -62,7 +62,7 @@
             String contextID = (String) entry.getKey();
             ComponentPermissions componentPermissions = (ComponentPermissions) entry.getValue();
 
-            PolicyConfiguration policyConfiguration = policyConfigurationFactory.getPolicyConfiguration(contextID,
false);
+            PolicyConfiguration policyConfiguration = policyConfigurationFactory.getPolicyConfiguration(contextID,
true);
             contextIdToPolicyConfigurationMap.put(contextID, policyConfiguration);
             policyConfiguration.addToExcludedPolicy(componentPermissions.getExcludedPermissions());
             policyConfiguration.addToUncheckedPolicy(componentPermissions.getUncheckedPermissions());



Mime
View raw message