public class LDAPServerConfigurationBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_NAME_PROP_NAME |
static String |
LOCAL_NAME_PROPERTY |
| Constructor and Description |
|---|
LDAPServerConfigurationBuilder(File file)
Constructor with the configuration file as input that reads the file into an InputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildConfigurations()
Build separate sections of the configuration file and the configuration file as a whole, as
OMElements.
|
String |
getConnectionPassword() |
org.wso2.carbon.apacheds.KdcConfiguration |
getKdcConfigurations() |
org.wso2.carbon.apacheds.LDAPConfiguration |
getLdapConfiguration() |
org.wso2.carbon.apacheds.PartitionInfo |
getPartitionConfigurations() |
boolean |
isEmbeddedLDAPEnabled() |
boolean |
isKdcEnabled() |
public static final String LOCAL_NAME_PROPERTY
public static final String ATTR_NAME_PROP_NAME
public LDAPServerConfigurationBuilder(File file) throws FileNotFoundException
file - that includes embedded-ldap server configurations.FileNotFoundExceptionpublic void buildConfigurations()
throws org.wso2.carbon.ldap.server.util.EmbeddingLDAPException
org.wso2.carbon.ldap.server.util.EmbeddingLDAPExceptionpublic String getConnectionPassword() throws org.wso2.carbon.ldap.server.util.EmbeddingLDAPException
org.wso2.carbon.ldap.server.util.EmbeddingLDAPExceptionpublic org.wso2.carbon.apacheds.LDAPConfiguration getLdapConfiguration()
throws org.wso2.carbon.ldap.server.util.EmbeddingLDAPException
org.wso2.carbon.ldap.server.util.EmbeddingLDAPExceptionpublic org.wso2.carbon.apacheds.PartitionInfo getPartitionConfigurations()
throws org.wso2.carbon.ldap.server.util.EmbeddingLDAPException
org.wso2.carbon.ldap.server.util.EmbeddingLDAPExceptionpublic org.wso2.carbon.apacheds.KdcConfiguration getKdcConfigurations()
throws org.wso2.carbon.ldap.server.util.EmbeddingLDAPException
org.wso2.carbon.ldap.server.util.EmbeddingLDAPExceptionpublic boolean isKdcEnabled()
public boolean isEmbeddedLDAPEnabled()
Copyright © 2016 WSO2. All rights reserved.