directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r526172 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java
Date Fri, 06 Apr 2007 14:03:52 GMT
Author: elecharny
Date: Fri Apr  6 07:03:51 2007
New Revision: 526172

URL: http://svn.apache.org/viewvc?view=rev&rev=526172
Log:
Substituted the empty constructor for UnbindContext by the constructor with an argument

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java?view=diff&rev=526172&r1=526171&r2=526172
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java
Fri Apr  6 07:03:51 2007
@@ -179,8 +179,7 @@
     public void ldapUnbind() throws NamingException
     {
         String bindDn = ( String ) getEnvironment().get( Context.SECURITY_PRINCIPAL );
-        UnbindServiceContext unbindContext = new UnbindServiceContext();
-        unbindContext.setBindDn( new LdapDN( bindDn ) );
+        UnbindServiceContext unbindContext = new UnbindServiceContext( new LdapDN( bindDn
) );
         
         super.getNexusProxy().unbind( unbindContext );
     }



Mime
View raw message