Package de.xima.fc.ldap
Class LDAPConnectionFactory
java.lang.Object
de.xima.fc.ldap.LDAPConnectionFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.unboundid.ldap.sdk.LDAPConnection
getConnection
(LDAPGruppe gruppe, MandantLdapData data) Deprecated.static com.unboundid.ldap.sdk.LDAPConnection
getConnection
(LDAPGruppe gruppe, MandantLdapData data, String username, String password) Deprecated.MandantLdapData
&LDAPGruppe
are deprecated since version 8.0.0.static com.unboundid.ldap.sdk.LDAPConnection
getConnection
(LDAPZugriff zugriff) static com.unboundid.ldap.sdk.LDAPConnection
getConnection
(MandantLdapData data) Deprecated.MandantLdapData
is deprecated since version 8.0.0.static com.unboundid.ldap.sdk.LDAPConnection
getConnection
(MandantLdapData data, String username, String password) Deprecated.MandantLdapData
is deprecated since version 8.0.0.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
static com.unboundid.ldap.sdk.LDAPConnection
static boolean
testConnection
(String host, int port, String bindDN, String bindPassword, boolean useSSL, Integer hopCount)
-
Constructor Details
-
LDAPConnectionFactory
public LDAPConnectionFactory()
-
-
Method Details
-
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(LDAPZugriff zugriff) 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
-
getConnection
@Deprecated public static com.unboundid.ldap.sdk.LDAPConnection getConnection(MandantLdapData data) throws GeneralSecurityException, com.unboundid.ldap.sdk.LDAPException Deprecated.MandantLdapData
is deprecated since version 8.0.0. LDAP-Connections for login may be set up asIAuthenticator
s.- Throws:
GeneralSecurityException
com.unboundid.ldap.sdk.LDAPException
-
getConnection
@Deprecated public static com.unboundid.ldap.sdk.LDAPConnection getConnection(MandantLdapData data, String username, String password) throws GeneralSecurityException, com.unboundid.ldap.sdk.LDAPException Deprecated.MandantLdapData
is deprecated since version 8.0.0. LDAP-Connections for login may be set up asIAuthenticator
s.- Throws:
GeneralSecurityException
com.unboundid.ldap.sdk.LDAPException
-
getConnection
@Deprecated public static com.unboundid.ldap.sdk.LDAPConnection getConnection(LDAPGruppe gruppe, MandantLdapData data) throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException Deprecated.MandantLdapData
&LDAPGruppe
are deprecated since version 8.0.0. LDAP-Connections for login may be set up asIAuthenticator
s.- Throws:
com.unboundid.ldap.sdk.LDAPException
GeneralSecurityException
-
getConnection
@Deprecated public static com.unboundid.ldap.sdk.LDAPConnection getConnection(LDAPGruppe gruppe, MandantLdapData data, String username, String password) throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException Deprecated.MandantLdapData
&LDAPGruppe
are deprecated since version 8.0.0. LDAP-Connections for login may be set up asIAuthenticator
s.- Throws:
com.unboundid.ldap.sdk.LDAPException
GeneralSecurityException
-
MandantLdapData
&LDAPGruppe
are deprecated since version 8.0.0.