public interface ILdapAuthInfo
| Modifier and Type | Field and Description |
|---|---|
static int |
LDAP_AUTHTYPE_BASICAUTH |
static int |
LDAP_AUTHTYPE_NONE |
static int |
LDAP_AUTHTYPE_SSLCLIENTAUTH |
static java.lang.String |
LDAP_BASICAUTH_STR |
static java.lang.String |
LDAP_SSLCLIENTAUTH_STR |
static java.lang.String |
PROP_BINDDN |
static java.lang.String |
PROP_BINDDN_DEFAULT |
static java.lang.String |
PROP_BINDPW |
static java.lang.String |
PROP_BINDPW_PROMPT |
static java.lang.String |
PROP_CLIENTCERTNICKNAME |
static java.lang.String |
PROP_LDAPAUTHTYPE |
| Modifier and Type | Method and Description |
|---|---|
void |
addPassword(java.lang.String prompt,
java.lang.String pw)
Add password to private password data structure.
|
int |
getAuthType()
Get authentication type.
|
java.lang.String[] |
getParms()
Get params for authentication.
|
void |
init(IConfigStore config)
Initialize this class from the config store.
|
void |
init(IConfigStore config,
java.lang.String host,
int port,
boolean secure)
Initialize this class from the config store.
|
void |
removePassword(java.lang.String prompt)
Remove password from private password data structure.
|
void |
reset()
Reset the connection to the host
|
static final java.lang.String PROP_LDAPAUTHTYPE
static final java.lang.String PROP_CLIENTCERTNICKNAME
static final java.lang.String PROP_BINDDN
static final java.lang.String PROP_BINDPW
static final java.lang.String PROP_BINDPW_PROMPT
static final java.lang.String PROP_BINDDN_DEFAULT
static final java.lang.String LDAP_BASICAUTH_STR
static final java.lang.String LDAP_SSLCLIENTAUTH_STR
static final int LDAP_AUTHTYPE_NONE
static final int LDAP_AUTHTYPE_BASICAUTH
static final int LDAP_AUTHTYPE_SSLCLIENTAUTH
void init(IConfigStore config) throws EBaseException
config - The config store from which to initialize.EBaseException - Due to failure of the initialization process.void init(IConfigStore config, java.lang.String host, int port, boolean secure) throws EBaseException
config - The config store from which to initialize.EBaseException - Due to failure of the initialization process.void reset()
int getAuthType()
java.lang.String[] getParms()
void addPassword(java.lang.String prompt,
java.lang.String pw)
prompt - Password prompt.pw - Password itself.void removePassword(java.lang.String prompt)
prompt - Identify password to remove with prompt.