@ConnectionManagement(friendlyName="Configuration", configElementName="config") public class LDAPCacheConfig extends AbstractConfig
authentication, connection, extendedConfiguration, referral, schemaEnabled, type, url
Constructor and Description |
---|
LDAPCacheConfig() |
Modifier and Type | Method and Description |
---|---|
void |
connect(String authDn,
String authPassword,
String authentication)
Establish the connection to the LDAP server and use connection management to handle different users.
|
int |
getInitialPoolSize() |
int |
getMaxPoolSize() |
long |
getPoolTimeout() |
void |
setInitialPoolSize(int initialPoolSize) |
void |
setMaxPoolSize(int maxPoolSize) |
void |
setPoolTimeout(long poolTimeout) |
connectionId, disconnect, getConnection, getExtendedConfiguration, getMetadataBuilder, getReferral, getType, getUrl, isConnected, isSchemaEnabled, setExtendedConfiguration, setMetadataBuilder, setReferral, setSchemaEnabled, setType, setUrl
@Connect(strategy=SINGLE_INSTANCE) @TestConnectivity public void connect(@ConnectionKey@FriendlyName(value="Principal DN") String authDn, @Optional@FriendlyName(value="Password")@Password String authPassword, @Optional String authentication) throws org.mule.api.ConnectionException
authDn
- The DN (distinguished name) of the user (for example: uid=user,ou=people,dc=mulesoft,dc=org). If using Microsoft Active Directory, instead of the DN, you can
provide the user@domain (for example: user@mulesoft.org)authPassword
- The password of the userauthentication
- Specifies the authentication mechanism to use. For the Sun LDAP service provider, this can be one of the following strings:
org.mule.api.ConnectionException
- Holding one of the possible values in ConnectionExceptionCode
.public int getInitialPoolSize()
public void setInitialPoolSize(int initialPoolSize)
public int getMaxPoolSize()
public void setMaxPoolSize(int maxPoolSize)
public long getPoolTimeout()
public void setPoolTimeout(long poolTimeout)
Copyright © 2010–2016. All rights reserved.