directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r680884 - /directory/apacheds/branches/bigbang/protocol-newldap/src/main/java/org/apache/directory/server/newldap/handlers/NewBindHandler.java
Date Tue, 29 Jul 2008 23:39:19 GMT
Author: akarasulu
Date: Tue Jul 29 16:39:19 2008
New Revision: 680884

URL: http://svn.apache.org/viewvc?rev=680884&view=rev
Log:
fixing bug in handle that was overwriting authenticated sessions with anonymous ones

Modified:
    directory/apacheds/branches/bigbang/protocol-newldap/src/main/java/org/apache/directory/server/newldap/handlers/NewBindHandler.java

Modified: directory/apacheds/branches/bigbang/protocol-newldap/src/main/java/org/apache/directory/server/newldap/handlers/NewBindHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/protocol-newldap/src/main/java/org/apache/directory/server/newldap/handlers/NewBindHandler.java?rev=680884&r1=680883&r2=680884&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/protocol-newldap/src/main/java/org/apache/directory/server/newldap/handlers/NewBindHandler.java
(original)
+++ directory/apacheds/branches/bigbang/protocol-newldap/src/main/java/org/apache/directory/server/newldap/handlers/NewBindHandler.java
Tue Jul 29 16:39:19 2008
@@ -119,6 +119,7 @@
 	        LdapProtocolUtils.setResponseControls( opContext, response );
 	        
 	        // Write it back to the client
+	        session.setAuthenticated();
 	        session.getIoSession().write( response );
 	        LOG.debug( "Returned SUCCESS message: {}.", response );
         }



Mime
View raw message