directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r999890 - /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/BindHandler.java
Date Wed, 22 Sep 2010 12:09:04 GMT
Author: elecharny
Date: Wed Sep 22 12:09:04 2010
New Revision: 999890

URL: http://svn.apache.org/viewvc?rev=999890&view=rev
Log:
Minor refactoring

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

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/BindHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/BindHandler.java?rev=999890&r1=999889&r2=999890&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/BindHandler.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/BindHandler.java
Wed Sep 22 12:09:04 2010
@@ -302,6 +302,7 @@ public class BindHandler extends LdapReq
 
                 LdapPrincipal ldapPrincipal = ( LdapPrincipal ) ldapSession
                     .getSaslProperty( SaslConstants.SASL_AUTHENT_USER );
+
                 if ( ldapPrincipal != null )
                 {
                     DirectoryService ds = ldapSession.getLdapServer().getDirectoryService();
@@ -341,6 +342,7 @@ public class BindHandler extends LdapReq
 
                 // And write back the response
                 ldapSession.getIoSession().write( resp );
+
                 LOG.debug( "Returning final authentication data to client to complete context."
);
             }
         }



Mime
View raw message