Package de.xima.fc.ldap
Class LDAPConnectionFactory
- java.lang.Object
-
- de.xima.fc.ldap.LDAPConnectionFactory
-
public class LDAPConnectionFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description LDAPConnectionFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.unboundid.ldap.sdk.LDAPConnection
getConnection(LDAPGruppe gruppe, MandantLdapData data)
static com.unboundid.ldap.sdk.LDAPConnection
getConnection(LDAPGruppe gruppe, MandantLdapData data, String username, String password)
static com.unboundid.ldap.sdk.LDAPConnection
getConnection(LDAPZugriff zugriff)
static com.unboundid.ldap.sdk.LDAPConnection
getConnection(MandantLdapData data)
static com.unboundid.ldap.sdk.LDAPConnection
getConnection(MandantLdapData data, String username, String password)
static com.unboundid.ldap.sdk.LDAPConnection
getConnection(String host, int port, String bindDN, String bindPassword, boolean useSSL, Integer hopCount)
static com.unboundid.ldap.sdk.LDAPConnection
getConnection(SocketFactory socketFactory, com.unboundid.ldap.sdk.LDAPConnectionOptions options, String host, int port, String bindDN, String bindPassword)
static com.unboundid.ldap.sdk.LDAPConnection
getKerberosConnection()
static com.unboundid.ldap.sdk.LDAPConnection
getNTLMLConnection()
static boolean
testConnection(String host, int port, String bindDN, String bindPassword, boolean useSSL, Integer hopCount)
-
-
-
Method Detail
-
getConnection
public static com.unboundid.ldap.sdk.LDAPConnection getConnection(SocketFactory socketFactory, com.unboundid.ldap.sdk.LDAPConnectionOptions options, String host, int port, String bindDN, String bindPassword) throws com.unboundid.ldap.sdk.LDAPException
- Throws:
com.unboundid.ldap.sdk.LDAPException
-
getConnection
public static com.unboundid.ldap.sdk.LDAPConnection getConnection(String host, int port, String bindDN, String bindPassword, boolean useSSL, Integer hopCount) throws GeneralSecurityException, com.unboundid.ldap.sdk.LDAPException
- Throws:
GeneralSecurityException
com.unboundid.ldap.sdk.LDAPException
-
testConnection
public static boolean testConnection(String host, int port, String bindDN, String bindPassword, boolean useSSL, Integer hopCount) throws GeneralSecurityException, com.unboundid.ldap.sdk.LDAPException
- Throws:
GeneralSecurityException
com.unboundid.ldap.sdk.LDAPException
-
getConnection
public static com.unboundid.ldap.sdk.LDAPConnection getConnection(MandantLdapData data) throws GeneralSecurityException, com.unboundid.ldap.sdk.LDAPException
- Throws:
GeneralSecurityException
com.unboundid.ldap.sdk.LDAPException
-
getConnection
public static com.unboundid.ldap.sdk.LDAPConnection getConnection(MandantLdapData data, String username, String password) throws GeneralSecurityException, com.unboundid.ldap.sdk.LDAPException
- Throws:
GeneralSecurityException
com.unboundid.ldap.sdk.LDAPException
-
getConnection
public static com.unboundid.ldap.sdk.LDAPConnection getConnection(LDAPZugriff zugriff) throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException
- Throws:
com.unboundid.ldap.sdk.LDAPException
GeneralSecurityException
-
getConnection
public static com.unboundid.ldap.sdk.LDAPConnection getConnection(LDAPGruppe gruppe, MandantLdapData data) throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException
- Throws:
com.unboundid.ldap.sdk.LDAPException
GeneralSecurityException
-
getConnection
public static com.unboundid.ldap.sdk.LDAPConnection getConnection(LDAPGruppe gruppe, MandantLdapData data, String username, String password) throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException
- Throws:
com.unboundid.ldap.sdk.LDAPException
GeneralSecurityException
-
getNTLMLConnection
public static com.unboundid.ldap.sdk.LDAPConnection getNTLMLConnection() throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException
- Throws:
com.unboundid.ldap.sdk.LDAPException
GeneralSecurityException
-
getKerberosConnection
public static com.unboundid.ldap.sdk.LDAPConnection getKerberosConnection() throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException
- Throws:
com.unboundid.ldap.sdk.LDAPException
GeneralSecurityException
-
-