DescriptorBean
, SettableBean
, StandardInterface
public interface LDAPServerMBean extends StandardInterface, DescriptorBean
Modifier and Type | Method | Description |
---|---|---|
int |
getCacheSize() |
Returns the size of the cache in K.
|
int |
getCacheTTL() |
Returns the time-to-live (TTL) of the cache in seconds.
|
int |
getConnectionPoolSize() |
The LDAP connection pool size.
|
int |
getConnectionRetryLimit() |
Specifies the number of times to attempt to connect to the LDAP server
if the initial connection failed.
|
int |
getConnectTimeout() |
Returns the maximum number of seconds to wait for the LDAP connection to be established.
|
java.lang.String |
getCredential() |
Returns the credential (generally a password) used to authenticate
the LDAP user that is defined in the Principal attribute.
|
byte[] |
getCredentialEncrypted() |
Returns the credential (generally a password) used to authenticate
the LDAP user that is defined in the Principal attribute.
|
java.lang.String |
getHost() |
Returns the host name or IP address of the LDAP server.
|
int |
getParallelConnectDelay() |
Returns the number of seconds to delay when making concurrent attempts to connect to multiple servers.
|
int |
getPort() |
Returns the port number on which the LDAP server is listening.
|
java.lang.String |
getPrincipal() |
Returns the Distinguished Name (DN) of the LDAP user that is
used by WebLogic Server to connect to the LDAP server.
|
int |
getResultsTimeLimit() |
Returns the maximum number of milliseconds to wait for results before timing out.
|
boolean |
isBindAnonymouslyOnReferrals() |
Returns whether to anonymously bind when following referrals within the LDAP directory.
|
boolean |
isCacheEnabled() |
Returns whether to cache LDAP requests with the LDAP server.
|
boolean |
isFollowReferrals() |
Returns whether referrals will automatically be followed within the LDAP Directory.
|
boolean |
isSSLEnabled() |
Returns whether SSL will be used to connect to the LDAP server.
|
void |
setBindAnonymouslyOnReferrals(boolean bindAnonymouslyOnReferrals) |
Sets whether to anonymously bind when following referrals within the LDAP directory.
|
void |
setCacheEnabled(boolean enabled) |
Sets whether to cache LDAP requests with the LDAP server.
|
void |
setCacheSize(int size) |
Sets the size of the cache in K.
|
void |
setCacheTTL(int TTL) |
Sets the time-to-live (TTL) of the cache in seconds.
|
void |
setConnectionPoolSize(int size) |
|
void |
setConnectionRetryLimit(int limit) |
|
void |
setConnectTimeout(int timeout) |
Sets the maximum number of seconds to wait for the LDAP connection to be established.
|
void |
setCredential(java.lang.String credential) |
Sets the credential (generally a password) used to authenticate
the LDAP user that is defined in the Principal attribute.
|
void |
setCredentialEncrypted(byte[] bytes) |
Sets the credential (generally a password) used to authenticate
the LDAP user that is defined in the Principal attribute.
|
void |
setFollowReferrals(boolean followReferrals) |
Sets whether referrals will automatically be followed within the LDAP Directory.
|
void |
setHost(java.lang.String host) |
Sets the host name or IP address of the LDAP server.
|
void |
setParallelConnectDelay(int delay) |
Sets the number of seconds to delay when making concurrent attempts to connect to multiple servers.
|
void |
setPort(int port) |
Sets the port number on which the LDAP server is listening.
|
void |
setPrincipal(java.lang.String principal) |
Sets the Distinguished Name (DN) of the LDAP user that is
used by WebLogic Server to connect to the LDAP server.
|
void |
setResultsTimeLimit(int timeLimit) |
Sets the maximum number of milliseconds to wait for results before timing out.
|
void |
setSSLEnabled(boolean enabled) |
Sets whether SSL will be used to connect to the LDAP server.
|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getName
java.lang.String getHost()
void setHost(java.lang.String host) throws javax.management.InvalidAttributeValueException
host
- - the new host namejavax.management.InvalidAttributeValueException
getHost()
int getPort()
void setPort(int port) throws javax.management.InvalidAttributeValueException
port
- - the new port numberjavax.management.InvalidAttributeValueException
getPort()
boolean isSSLEnabled()
void setSSLEnabled(boolean enabled) throws javax.management.InvalidAttributeValueException
enabled
- - the new SSL enabled valuejavax.management.InvalidAttributeValueException
isSSLEnabled()
java.lang.String getPrincipal()
void setPrincipal(java.lang.String principal) throws javax.management.InvalidAttributeValueException
principal
- - the new principal namejavax.management.InvalidAttributeValueException
getPrincipal()
java.lang.String getCredential()
getCredentialEncrypted()
void setCredential(java.lang.String credential) throws javax.management.InvalidAttributeValueException
credential
- - the new credentialjavax.management.InvalidAttributeValueException
getCredential()
,
setCredentialEncrypted(byte[])
byte[] getCredentialEncrypted()
void setCredentialEncrypted(byte[] bytes) throws javax.management.InvalidAttributeValueException
bytes
- The new credential value as a byte array.javax.management.InvalidAttributeValueException
getCredentialEncrypted()
boolean isCacheEnabled()
void setCacheEnabled(boolean enabled) throws javax.management.InvalidAttributeValueException
enabled
- - the new cache enabled valuejavax.management.InvalidAttributeValueException
isCacheEnabled()
int getCacheSize()
void setCacheSize(int size) throws javax.management.InvalidAttributeValueException
size
- - the new cache sizejavax.management.InvalidAttributeValueException
getCacheSize()
int getCacheTTL()
void setCacheTTL(int TTL) throws javax.management.InvalidAttributeValueException
TTL
- - the new cache time to livejavax.management.InvalidAttributeValueException
getCacheTTL()
boolean isFollowReferrals()
void setFollowReferrals(boolean followReferrals) throws javax.management.InvalidAttributeValueException
followReferrals
- - the new follow referrals valuejavax.management.InvalidAttributeValueException
isFollowReferrals()
boolean isBindAnonymouslyOnReferrals()
void setBindAnonymouslyOnReferrals(boolean bindAnonymouslyOnReferrals) throws javax.management.InvalidAttributeValueException
bindAnonymouslyOnReferrals
- - the new bind anonymously on referrals valuejavax.management.InvalidAttributeValueException
isBindAnonymouslyOnReferrals()
int getResultsTimeLimit()
void setResultsTimeLimit(int timeLimit) throws javax.management.InvalidAttributeValueException
The default setting is 0. This default value can result in a slowdown in WebLogic Server execution if the LDAP server is unavailable. In addition, if WebLogic Server has multiple LDAP Authentication providers configured, the failure to connect to one LDAP server may block the use of the other LDAP Authentication providers.
Oracle recommends that you specify a non-zero value; for example, 60 seconds.
timeLimit
- - the new results time limitjavax.management.InvalidAttributeValueException
getResultsTimeLimit()
int getConnectTimeout()
void setConnectTimeout(int timeout) throws javax.management.InvalidAttributeValueException
timeout
- - the new connect timeoutjavax.management.InvalidAttributeValueException
getConnectTimeout()
int getParallelConnectDelay()
Returns the number of seconds to delay when making concurrent attempts to connect to multiple servers.
If set to 0, connection attempts are serialized. An attempt is made to connect to the first server in the list. The next entry in the list is tried only if the attempt to connect to the current host fails. This might cause your application to block for unacceptably long time if a host is down. If set to greater than 0, another connection setup thread is started after this number of delay seconds has passed.
void setParallelConnectDelay(int delay) throws javax.management.InvalidAttributeValueException
delay
- - the new parallel connect delayjavax.management.InvalidAttributeValueException
getParallelConnectDelay()
int getConnectionRetryLimit()
void setConnectionRetryLimit(int limit) throws javax.management.InvalidAttributeValueException
limit
- - number of times connection should tried.javax.management.InvalidAttributeValueException
getConnectionRetryLimit()
int getConnectionPoolSize()
void setConnectionPoolSize(int size) throws javax.management.InvalidAttributeValueException
size
- the LDAP connection pool sizejavax.management.InvalidAttributeValueException