directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r359128 - /directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java
Date Mon, 26 Dec 2005 23:35:58 GMT
Author: elecharny
Date: Mon Dec 26 15:35:52 2005
New Revision: 359128

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

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

Modified: directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java?rev=359128&r1=359127&r2=359128&view=diff
==============================================================================
--- directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java
(original)
+++ directory/protocol-providers/ldap/trunk/src/main/java/org/apache/ldap/server/protocol/support/BindHandler.java
Mon Dec 26 15:35:52 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