directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szoer...@apache.org
Subject svn commit: r740419 - /directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
Date Tue, 03 Feb 2009 20:28:19 GMT
Author: szoerner
Date: Tue Feb  3 20:28:18 2009
New Revision: 740419

URL: http://svn.apache.org/viewvc?rev=740419&view=rev
Log:
Changes from Michal applied

Modified:
    directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java

Modified: directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
URL: http://svn.apache.org/viewvc/directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java?rev=740419&r1=740418&r2=740419&view=diff
==============================================================================
--- directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
(original)
+++ directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
Tue Feb  3 20:28:18 2009
@@ -126,12 +126,27 @@
         return new LDAP();
     }
 
-
     public static LDAP newInstance( String url )
     {
         return new LDAP( url );
     }
 
+    public static LDAP newInstance( String url, String baseDn )
+    {
+        return new LDAP( url, baseDn );
+    }
+
+    public static LDAP newInstance( String url, String bindUser, String bindPassword )
+    {
+        return new LDAP( url, bindUser, bindPassword );
+    }
+
+    public static LDAP newInstance( String url, String baseDn, String bindUser, String bindPassword
)
+    {
+        return new LDAP( url, baseDn, bindUser, bindPassword );
+    }
+
+
     /**
      * Search scope ONE (one level)
      */
@@ -625,4 +640,4 @@
         }
         return result;
     }
-}
\ No newline at end of file
+}



Mime
View raw message