directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r420148 - /directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authz/support/RelatedProtectedItemFilter.java
Date Sat, 08 Jul 2006 15:48:58 GMT
Author: elecharny
Date: Sat Jul  8 08:48:57 2006
New Revision: 420148

URL: http://svn.apache.org/viewvc?rev=420148&view=rev
Log:
Switched from toUpName() to getUpName();

Modified:
    directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authz/support/RelatedProtectedItemFilter.java

Modified: directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authz/support/RelatedProtectedItemFilter.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authz/support/RelatedProtectedItemFilter.java?rev=420148&r1=420147&r2=420148&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authz/support/RelatedProtectedItemFilter.java
(original)
+++ directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authz/support/RelatedProtectedItemFilter.java
Sat Jul  8 08:48:57 2006
@@ -249,7 +249,7 @@
                     {
                         AttributeType attrType = attrRegistry.lookup( oid );
                         Attribute attr = ServerUtils.getAttribute( attrType, entry );
-                        if ( attr != null && ( ( attr.contains( userName.toNormName()
) || attr.contains( userName.toUpName() ) ) ) )
+                        if ( attr != null && ( ( attr.contains( userName.toNormName()
) || attr.contains( userName.getUpName() ) ) ) )
                         {
                             return true;
                         }



Mime
View raw message