directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r359519 - /directory/protocol-providers/ldap/branches/DN-refactoring/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java
Date Wed, 28 Dec 2005 13:45:30 GMT
Author: elecharny
Date: Wed Dec 28 05:45:26 2005
New Revision: 359519

URL: http://svn.apache.org/viewcvs?rev=359519&view=rev
Log:
Used StringTools instead of StringUtils

Modified:
    directory/protocol-providers/ldap/branches/DN-refactoring/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java

Modified: directory/protocol-providers/ldap/branches/DN-refactoring/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/ldap/branches/DN-refactoring/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java?rev=359519&r1=359518&r2=359519&view=diff
==============================================================================
--- directory/protocol-providers/ldap/branches/DN-refactoring/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java
(original)
+++ directory/protocol-providers/ldap/branches/DN-refactoring/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java
Wed Dec 28 05:45:26 2005
@@ -25,7 +25,6 @@
 import javax.naming.ldap.LdapContext;
 import javax.naming.spi.InitialContextFactory;
 
-import org.apache.asn1.codec.util.StringUtils;
 import org.apache.ldap.common.exception.LdapException;
 import org.apache.ldap.common.message.BindRequest;
 import org.apache.ldap.common.message.BindResponse;
@@ -35,6 +34,7 @@
 import org.apache.ldap.common.message.LdapResultImpl;
 import org.apache.ldap.common.message.ResultCodeEnum;
 import org.apache.ldap.common.util.ExceptionUtils;
+import org.apache.ldap.common.util.StringTools;
 import org.apache.ldap.server.protocol.SessionRegistry;
 import org.apache.mina.common.IoSession;
 import org.apache.mina.handler.demux.MessageHandler;
@@ -75,7 +75,7 @@
 
 //        boolean allowAnonymousBinds = cfg.isAllowAnonymousAccess();
 //        boolean emptyCredentials = req.getCredentials() == null || req.getCredentials().length
== 0;
-        boolean emptyDn = StringUtils.isEmpty( req.getName() );
+        boolean emptyDn = StringTools.isEmpty( req.getName() );
 //
 //        if ( emptyCredentials && emptyDn && ! allowAnonymousBinds )
 //        {



Mime
View raw message