Package de.xima.fc.ldap
Class LdapConnectionConfigFactory
- java.lang.Object
-
- de.xima.fc.ldap.LdapConnectionConfigFactory
-
public final class LdapConnectionConfigFactory extends Object
Factory class for creating instances ofLdapConnectionConfig.- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LdapConnectionConfigforKerberos()Creates a newLdapConnectionConfigfor Kerberos authentication.static LdapConnectionConfigforLdapZugriff(LDAPZugriff ldapZugriff)Creates a newLdapConnectionConfigbased on the providedLDAPZugriff.static LdapConnectionConfigforMandantLdapData(MandantLdapData data)Deprecated.static LdapConnectionConfigforNtlm()Deprecated.NTLM authentication is deprecated and should not be used.
-
-
-
Method Detail
-
forKerberos
public static LdapConnectionConfig forKerberos()
Creates a newLdapConnectionConfigfor Kerberos authentication.- Returns:
- A new instance of
LdapConnectionConfigconfigured for Kerberos.
-
forLdapZugriff
public static LdapConnectionConfig forLdapZugriff(LDAPZugriff ldapZugriff)
Creates a newLdapConnectionConfigbased on the providedLDAPZugriff.- Parameters:
ldapZugriff- The LDAP access configuration.- Returns:
- A new instance of
LdapConnectionConfig.
-
forMandantLdapData
@Deprecated public static LdapConnectionConfig forMandantLdapData(MandantLdapData data)
Deprecated.Creates a newLdapConnectionConfigbased on the providedMandantLdapData.- Parameters:
data- The LDAP data of the client (Mandant).- Returns:
- A new instance of
LdapConnectionConfig.
-
forNtlm
@Deprecated public static LdapConnectionConfig forNtlm()
Deprecated.NTLM authentication is deprecated and should not be used.Creates a newLdapConnectionConfigfor NTLM authentication.- Returns:
- A new instance of
LdapConnectionConfigconfigured for NTLM.
-
-