directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1131261 - /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplRequestHandler.java
Date Fri, 03 Jun 2011 22:09:34 GMT
Author: kayyagari
Date: Fri Jun  3 22:09:34 2011
New Revision: 1131261

URL: http://svn.apache.org/viewvc?rev=1131261&view=rev
Log:
o do not filter userPassword attribute

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplRequestHandler.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplRequestHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplRequestHandler.java?rev=1131261&r1=1131260&r2=1131261&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplRequestHandler.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/SyncReplRequestHandler.java
Fri Jun  3 22:09:34 2011
@@ -687,13 +687,6 @@ public class SyncReplRequestHandler impl
             respEntry.setEntry( entry );
             respEntry.setObjectName( entry.getDn() );
 
-            // Filter the userPassword if the server mandate to do so
-            if ( session.getCoreSession().getDirectoryService().isPasswordHidden() )
-            {
-                // Remove the userPassord attribute from the entry.
-                respEntry.getEntry().removeAttributes( SchemaConstants.USER_PASSWORD_AT );
-            }
-
             return respEntry;
         }
     }



Mime
View raw message