com.atlassian.crowd.embedded.api
Interface ConnectionPoolProperties
- All Known Implementing Classes:
- DefaultConnectionPoolProperties, SystemConnectionPoolProperties
public interface ConnectionPoolProperties
The system-wide settings for LDAP connection pooling, as provided by JNDI.
http://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html
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
Map<String,String> toPropertiesMap()
- Returns:
- The LDAP connection pool properties as a map.
Copyright © 2012 Atlassian. All Rights Reserved.