public class LDAPAccessAuthenticationServiceDescriptor extends AuthenticationServiceDescriptor
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
static long |
DEFAULT_TIMEOUT |
| Constructor and Description |
|---|
LDAPAccessAuthenticationServiceDescriptor()
This constructor is used by serialization sub-system
and is not intended to use directly in client code.
|
LDAPAccessAuthenticationServiceDescriptor(LDAPAccessAuthenticationServiceDescriptor that) |
LDAPAccessAuthenticationServiceDescriptor(java.lang.String host,
int port,
long connectionTimeoutMillis,
java.lang.String userDNPattern,
java.lang.String accountTemplate,
com.jscape.inet.mft.subsystems.authentication.UsernameConversionType usernameConversionType,
boolean useSsl,
boolean emptyPasswordAllowed,
com.jscape.inet.mft.LdapFailoverServerParameters[] failoverServers)
Creates a new descriptor instance.
|
| Modifier and Type | Method and Description |
|---|---|
Configuration |
copy() |
java.lang.String |
getAccountTemplate()
Returns the account template name.
|
long |
getConnectionTimeoutMillis()
Returns connection timeout millis.
|
boolean |
getEmptyPasswordAllowed()
Returns empty password allowed flag.
|
com.jscape.inet.mft.LdapFailoverServerParameters[] |
getFailoverServers()
Returns failover servers parameters.
|
java.lang.String |
getHost()
Returns LDAP server host/IP.
|
int |
getPort()
Returns LDAP server port.
|
java.lang.String |
getUserDNPattern()
Returns server access pattern.
|
com.jscape.inet.mft.subsystems.authentication.UsernameConversionType |
getUsernameConversionType() |
boolean |
getUseSsl()
Returns SSL usage flag.
|
void |
setAccountTemplate(java.lang.String value)
Sets the account template name.
|
void |
setConnectionTimeoutMillis(long value)
Sets connection timeout millis.
|
void |
setEmptyPasswordAllowed(boolean value)
Sets empty password allowed flag.
|
void |
setFailoverServers(com.jscape.inet.mft.LdapFailoverServerParameters[] value)
Sets failover servers parameters.
|
void |
setHost(java.lang.String value)
Sets LDAP server host/IP
|
void |
setPort(int value)
Sets LDAP server port.
|
void |
setUserDNPattern(java.lang.String value)
Sets server access pattern.
|
void |
setUsernameConversionType(com.jscape.inet.mft.subsystems.authentication.UsernameConversionType value) |
void |
setUseSsl(boolean value)
Sets SSL usage flag.
|
java.lang.String |
toString() |
getVersion, setVersionpublic static final int DEFAULT_PORT
public static final long DEFAULT_TIMEOUT
public LDAPAccessAuthenticationServiceDescriptor(java.lang.String host,
int port,
long connectionTimeoutMillis,
java.lang.String userDNPattern,
java.lang.String accountTemplate,
com.jscape.inet.mft.subsystems.authentication.UsernameConversionType usernameConversionType,
boolean useSsl,
boolean emptyPasswordAllowed,
com.jscape.inet.mft.LdapFailoverServerParameters[] failoverServers)
host - LDAP server host/IPport - LDAP server portconnectionTimeoutMillis - connection timeout millisuserDNPattern - access patternaccountTemplate - account template nameuseSsl - SSL connection usage flagemptyPasswordAllowed - empty password allowedfailoverServers - failover server parameterspublic LDAPAccessAuthenticationServiceDescriptor(LDAPAccessAuthenticationServiceDescriptor that)
public LDAPAccessAuthenticationServiceDescriptor()
public java.lang.String getHost()
public void setHost(java.lang.String value)
value - LDAP server host/IPpublic int getPort()
public void setPort(int value)
value - LDAP server portpublic long getConnectionTimeoutMillis()
public void setConnectionTimeoutMillis(long value)
value - connection timeout millispublic java.lang.String getUserDNPattern()
public void setUserDNPattern(java.lang.String value)
value - server access patternpublic java.lang.String getAccountTemplate()
public void setAccountTemplate(java.lang.String value)
value - the account template namepublic com.jscape.inet.mft.subsystems.authentication.UsernameConversionType getUsernameConversionType()
public void setUsernameConversionType(com.jscape.inet.mft.subsystems.authentication.UsernameConversionType value)
public boolean getUseSsl()
true if SSL conection should be used
false otherwisepublic void setUseSsl(boolean value)
value - if true SSL connection will be usedpublic boolean getEmptyPasswordAllowed()
true if empty password is allowed;
false otherwisepublic void setEmptyPasswordAllowed(boolean value)
value - if true the empty password will be
allowed due authenticationpublic com.jscape.inet.mft.LdapFailoverServerParameters[] getFailoverServers()
public void setFailoverServers(com.jscape.inet.mft.LdapFailoverServerParameters[] value)
value - failover server parameterspublic Configuration copy()
copy in class Configurationpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2023. Redwood Software Inc. All rights reserved.