You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2005/09/14 21:23:09 UTC

svn commit: r280918 - /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java

Author: akarasulu
Date: Wed Sep 14 12:23:05 2005
New Revision: 280918

URL: http://svn.apache.org/viewcvs?rev=280918&view=rev
Log:
applying patch from Jacob in DIREVE-169 here http://issues.apache.org/jira/browse/DIREVE-169

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java?rev=280918&r1=280917&r2=280918&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/SimpleAuthenticator.java Wed Sep 14 12:23:05 2005
@@ -92,7 +92,7 @@
         
         try
         {
-            userEntry = nexus.lookup( principalDn );
+            userEntry = nexus.lookup( principalDn, new String[] {"userPassword"} );
             if ( userEntry == null )
             {
                 throw new LdapAuthenticationException();