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 2006/07/13 00:09:11 UTC

svn commit: r421436 - /directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java

Author: akarasulu
Date: Wed Jul 12 15:09:11 2006
New Revision: 421436

URL: http://svn.apache.org/viewvc?rev=421436&view=rev
Log:
reverting changes that broke the build - we need to address trigger dev issues with this code in 1.1 branch

Modified:
    directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java

Modified: directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java?rev=421436&r1=421435&r2=421436&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java (original)
+++ directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationService.java Wed Jul 12 15:09:11 2006
@@ -421,7 +421,6 @@
             {
                 ctx.removeFromEnvironment( Context.SECURITY_CREDENTIALS );
             }
-            next.bind( bindDn, credentials, mechanisms, saslAuthId );
             return;
         }
 
@@ -448,7 +447,6 @@
                 .getAuthenticationLevel( ctx.getEnvironment() ) ) ) );
             // remove creds so there is no security risk
             ctx.removeFromEnvironment( Context.SECURITY_CREDENTIALS );
-            next.bind( bindDn, credentials, mechanisms, saslAuthId );
             return;
         }
 
@@ -464,7 +462,6 @@
                 ctx.setPrincipal( new TrustedPrincipalWrapper( authorizationId ) );
                 // remove creds so there is no security risk
                 ctx.removeFromEnvironment( Context.SECURITY_CREDENTIALS );
-                next.bind( bindDn, credentials, mechanisms, saslAuthId );
                 return;
             }
             catch ( LdapAuthenticationException e )