Package com.atlassian.crowd.embedded.api
Interface ConnectionPoolProperties
- All Known Implementing Classes:
DefaultConnectionPoolProperties
,SystemConnectionPoolProperties
public interface ConnectionPoolProperties
The system-wide settings for JNDI LDAP connection pooling.
http://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getInitialSize
String getInitialSize()- Returns:
- Number of connections to create when initially connecting to the pool.
-
getMaximumSize
String getMaximumSize()- Returns:
- Maximum number of connections to the LDAP server. Value of 0 means no maximum.
-
getPreferredSize
String getPreferredSize()- Returns:
- The preferred number of connections to be maintained in the pool.
-
getTimeoutInSec
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.
-
getSupportedAuthentication
String getSupportedAuthentication()- Returns:
- The specified authentication types will be pooled. Valid types are: none, simple, DIGEST-MD5.
-
getSupportedProtocol
String getSupportedProtocol()- Returns:
- The specified protocol types will be pooled. Valid types are: plain, ssl.
-
toPropertiesMap
- Returns:
- The JNDI LDAP connection pool properties as a map.
-