You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/09/01 18:05:50 UTC
svn commit: r439360 -
/lenya/sandbox/ac-restricted-1.4-src/modules-core/ac-impl/java/src/org/apache/lenya/ac/file/FilePolicyManager.java
Author: thorsten
Date: Fri Sep 1 09:05:50 2006
New Revision: 439360
URL: http://svn.apache.org/viewvc?rev=439360&view=rev
Log:
Fixing bug related to url rights. Since we did not incremented the position we have overriden always the last credential leading to that only the first role got added to the credentials.
Modified:
lenya/sandbox/ac-restricted-1.4-src/modules-core/ac-impl/java/src/org/apache/lenya/ac/file/FilePolicyManager.java
Modified: lenya/sandbox/ac-restricted-1.4-src/modules-core/ac-impl/java/src/org/apache/lenya/ac/file/FilePolicyManager.java
URL: http://svn.apache.org/viewvc/lenya/sandbox/ac-restricted-1.4-src/modules-core/ac-impl/java/src/org/apache/lenya/ac/file/FilePolicyManager.java?rev=439360&r1=439359&r2=439360&view=diff
==============================================================================
--- lenya/sandbox/ac-restricted-1.4-src/modules-core/ac-impl/java/src/org/apache/lenya/ac/file/FilePolicyManager.java (original)
+++ lenya/sandbox/ac-restricted-1.4-src/modules-core/ac-impl/java/src/org/apache/lenya/ac/file/FilePolicyManager.java Fri Sep 1 09:05:50 2006
@@ -623,6 +623,7 @@
for (int i = tmp.length-1; i >= 0; i--) {
Credential credential = tmp[i];
orderedCredential.put(String.valueOf(position), credential);
+ position++;
}
}
Credential[] returnCredential = new CredentialImpl[orderedCredential
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org