public interface

ConnectionPoolProperties

com.atlassian.crowd.embedded.api.ConnectionPoolProperties
Known Indirect Subclasses

Class Overview

The system-wide settings for LDAP connection pooling, as provided by JNDI. http://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html

Public Methods

public String getInitialSize ()

Returns
  • Number of connections to create when initially connecting to the pool.

public String getMaximumSize ()

Returns
  • Maximum number of connections to the LDAP server. Value of 0 means no maximum.

public String getPreferredSize ()

Returns
  • The preferred number of connections to be maintained in the pool.

public String getSupportedAuthentication ()

Returns
  • The specified authentication types will be pooled. Valid types are: none, simple, DIGEST-MD5.

public String getSupportedProtocol ()

Returns
  • The specified protocol types will be pooled. Valid types are: plain, ssl.

public String getTimeoutInSec ()

Returns
  • Idle time in seconds for a connection before it is removed from the pool. Value of 0 means there is no timeout.

public Map<StringString> toPropertiesMap ()

Returns
  • The LDAP connection pool properties as a map.