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.LDAPConnectiongetConnection(LDAPGruppe gruppe, MandantLdapData data) Deprecated.static com.unboundid.ldap.sdk.LDAPConnectiongetConnection(LDAPGruppe gruppe, MandantLdapData data, String username, String password) Deprecated.MandantLdapData&LDAPGruppeare deprecated since version 8.0.0.static com.unboundid.ldap.sdk.LDAPConnectiongetConnection(LDAPZugriff zugriff) static com.unboundid.ldap.sdk.LDAPConnectiongetConnection(MandantLdapData data) Deprecated.MandantLdapDatais deprecated since version 8.0.0.static com.unboundid.ldap.sdk.LDAPConnectiongetConnection(MandantLdapData data, String username, String password) Deprecated.MandantLdapDatais deprecated since version 8.0.0.static com.unboundid.ldap.sdk.LDAPConnectiongetConnection(String host, int port, String bindDN, String bindPassword, boolean useSSL, Integer hopCount) static com.unboundid.ldap.sdk.LDAPConnectiongetConnection(SocketFactory socketFactory, com.unboundid.ldap.sdk.LDAPConnectionOptions options, String host, int port, String bindDN, String bindPassword) static com.unboundid.ldap.sdk.LDAPConnectionstatic com.unboundid.ldap.sdk.LDAPConnectionstatic booleantestConnection(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:
GeneralSecurityExceptioncom.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:
GeneralSecurityExceptioncom.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.LDAPExceptionGeneralSecurityException
-
getNTLMLConnection
public static com.unboundid.ldap.sdk.LDAPConnection getNTLMLConnection() throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException- Throws:
com.unboundid.ldap.sdk.LDAPExceptionGeneralSecurityException
-
getKerberosConnection
public static com.unboundid.ldap.sdk.LDAPConnection getKerberosConnection() throws com.unboundid.ldap.sdk.LDAPException, GeneralSecurityException- Throws:
com.unboundid.ldap.sdk.LDAPExceptionGeneralSecurityException
-
getConnection
@Deprecated public static com.unboundid.ldap.sdk.LDAPConnection getConnection(MandantLdapData data) throws GeneralSecurityException, com.unboundid.ldap.sdk.LDAPException Deprecated.MandantLdapDatais deprecated since version 8.0.0. LDAP-Connections for login may be set up asIAuthenticators.- Throws:
GeneralSecurityExceptioncom.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.MandantLdapDatais deprecated since version 8.0.0. LDAP-Connections for login may be set up asIAuthenticators.- Throws:
GeneralSecurityExceptioncom.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&LDAPGruppeare deprecated since version 8.0.0. LDAP-Connections for login may be set up asIAuthenticators.- Throws:
com.unboundid.ldap.sdk.LDAPExceptionGeneralSecurityException
-
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&LDAPGruppeare deprecated since version 8.0.0. LDAP-Connections for login may be set up asIAuthenticators.- Throws:
com.unboundid.ldap.sdk.LDAPExceptionGeneralSecurityException
-
MandantLdapData&LDAPGruppeare deprecated since version 8.0.0.