public class LDAPAuthenticationServiceDescriptor extends AuthenticationServiceDescriptor
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
static long |
DEFAULT_TIMEOUT |
| Constructor and Description |
|---|
LDAPAuthenticationServiceDescriptor()
This constructor is used by serialization sub-system
and is not intended to use directly in client code.
|
LDAPAuthenticationServiceDescriptor(LDAPAuthenticationServiceDescriptor that)
Copy constructor.
|
LDAPAuthenticationServiceDescriptor(java.lang.String host,
int port,
long connectionTimeoutMillis,
java.lang.String userDN,
java.lang.String searchUserDN,
java.lang.String password,
java.lang.String baseDN,
java.lang.String filter,
java.lang.String accountTemplate,
com.jscape.inet.mft.subsystems.authentication.UsernameConversionType usernameConversionType,
java.lang.String hasherClassName,
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.
|
java.lang.String |
getBaseDN()
Returns base DN.
|
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 |
getFilter()
Returns authentication filter.
|
java.lang.String |
getHasherClassName()
Returns password hasher class name.
|
java.lang.String |
getHost()
Returns LDAP server host/IP.
|
java.lang.String |
getPassword()
Returns LDAP server access password.
|
int |
getPort()
Returns LDAP server port.
|
java.lang.String |
getSearchUserDN()
Returns search user DN.
|
java.lang.String |
getUserDN()
Returns user DN.
|
com.jscape.inet.mft.subsystems.authentication.UsernameConversionType |
getUsernameConversionType() |
boolean |
getUseSsl()
Returns SSL usage flag.
|
com.jscape.inet.mft.authentication.Hasher |
hasher() |
void |
setAccountTemplate(java.lang.String value)
Sets the account template name.
|
void |
setBaseDN(java.lang.String value)
Sets base DN.
|
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 |
setFilter(java.lang.String value)
Sets authentication filter.
|
void |
setHasherClassName(java.lang.String value)
Sets password hasher class name.
|
void |
setHost(java.lang.String value)
Sets LDAP server host/IP
|
void |
setPassword(java.lang.String value)
Sets LDAP server access password.
|
void |
setPort(int value)
Sets LDAP server port.
|
void |
setSearchUserDN(java.lang.String value)
Sets search user DN
|
void |
setUserDN(java.lang.String value)
Sets user DN.
|
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 LDAPAuthenticationServiceDescriptor(java.lang.String host,
int port,
long connectionTimeoutMillis,
java.lang.String userDN,
java.lang.String searchUserDN,
java.lang.String password,
java.lang.String baseDN,
java.lang.String filter,
java.lang.String accountTemplate,
com.jscape.inet.mft.subsystems.authentication.UsernameConversionType usernameConversionType,
java.lang.String hasherClassName,
boolean useSsl,
boolean emptyPasswordAllowed,
com.jscape.inet.mft.LdapFailoverServerParameters[] failoverServers)
host - LDAP server host/IPport - LDAP server portconnectionTimeoutMillis - connection timeout millisuserDN - LDAP server access user DNsearchUserDN - search user DNpassword - LDAP server access passwordbaseDN - base DNfilter - filter patternaccountTemplate - account template namehasherClassName - password hasher class nameuseSsl - SSL connection usage flagemptyPasswordAllowed - empty password allowedfailoverServers - failover servers parameterspublic LDAPAuthenticationServiceDescriptor(LDAPAuthenticationServiceDescriptor that)
that - an instance to copypublic LDAPAuthenticationServiceDescriptor()
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 getUserDN()
public void setUserDN(java.lang.String value)
value - user DNpublic java.lang.String getSearchUserDN()
public void setSearchUserDN(java.lang.String value)
value - search user DNpublic java.lang.String getPassword()
public void setPassword(java.lang.String value)
value - LDAP server access passwordpublic java.lang.String getBaseDN()
public void setBaseDN(java.lang.String value)
value - base DNpublic java.lang.String getFilter()
public void setFilter(java.lang.String value)
value - authentication filterpublic 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 java.lang.String getHasherClassName()
public void setHasherClassName(java.lang.String value)
value - password hasher class namepublic 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 com.jscape.inet.mft.authentication.Hasher hasher()
throws java.lang.Exception
java.lang.Exceptionpublic Configuration copy()
copy in class Configurationpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2023. Redwood Software Inc. All rights reserved.