|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ldap.server.configuration.Configuration
org.apache.ldap.server.configuration.StartupConfiguration
public class StartupConfiguration
A Configuration
that starts up ApacheDS.
Field Summary |
---|
Fields inherited from class org.apache.ldap.server.configuration.Configuration |
---|
DEFAULT_INSTANCE_ID, JNDI_KEY |
Constructor Summary | |
---|---|
StartupConfiguration()
Creates a new instance with default settings. |
|
StartupConfiguration(java.lang.String instanceId)
Creates a new instance with default settings that operates on the DirectoryService with the specified ID. |
Method Summary | |
---|---|
java.util.Set |
getAuthenticatorConfigurations()
Returns AuthenticatorConfiguration s to use for authenticating clients. |
java.util.Set |
getBootstrapSchemas()
Returns BootstrapSchema s to load while bootstrapping. |
java.util.Set |
getContextPartitionConfigurations()
Returns DirectoryPartitionConfiguration s to configure context partitions. |
java.util.List |
getInterceptorConfigurations()
Returns interceptor chain. |
java.util.List |
getTestEntries()
Returns test directory entries( Attributes ) to be loaded while
bootstrapping. |
java.io.File |
getWorkingDirectory()
Returns working directory (counterpart of var/lib). |
boolean |
isAccessControlEnabled()
Returns true if access control checks are enbaled. |
boolean |
isAllowAnonymousAccess()
Returns true if anonymous access is allowed. |
protected void |
setAccessControlEnabled(boolean accessControlEnabled)
Sets whether to enable basic access control checks or not |
protected void |
setAllowAnonymousAccess(boolean enableAnonymousAccess)
Sets whether to allow anonymous access or not |
protected void |
setAuthenticatorConfigurations(java.util.Set authenticatorConfigurations)
Sets AuthenticatorConfiguration s to use for authenticating clients. |
protected void |
setBootstrapSchemas(java.util.Set bootstrapSchemas)
Sets BootstrapSchema s to load while bootstrapping. |
protected void |
setContextPartitionConfigurations(java.util.Set contextParitionConfigurations)
Sets DirectoryPartitionConfiguration s to configure context partitions. |
protected void |
setInterceptorConfigurations(java.util.List interceptorConfigurations)
Sets interceptor chain. |
protected void |
setTestEntries(java.util.List testEntries)
Sets test directory entries( Attributes ) to be loaded while
bootstrapping. |
protected void |
setWorkingDirectory(java.io.File workingDirectory)
Sets working directory (counterpart of var/lib). |
void |
validate()
Validates this configuration. |
Methods inherited from class org.apache.ldap.server.configuration.Configuration |
---|
clone, getInstanceId, setInstanceId, toConfiguration, toJndiEnvironment |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StartupConfiguration()
public StartupConfiguration(java.lang.String instanceId)
DirectoryService
with the specified ID.
Method Detail |
---|
public java.util.Set getAuthenticatorConfigurations()
AuthenticatorConfiguration
s to use for authenticating clients.
protected void setAuthenticatorConfigurations(java.util.Set authenticatorConfigurations)
AuthenticatorConfiguration
s to use for authenticating clients.
public java.util.Set getBootstrapSchemas()
BootstrapSchema
s to load while bootstrapping.
protected void setBootstrapSchemas(java.util.Set bootstrapSchemas)
BootstrapSchema
s to load while bootstrapping.
public java.util.Set getContextPartitionConfigurations()
DirectoryPartitionConfiguration
s to configure context partitions.
protected void setContextPartitionConfigurations(java.util.Set contextParitionConfigurations)
DirectoryPartitionConfiguration
s to configure context partitions.
public boolean isAccessControlEnabled()
protected void setAccessControlEnabled(boolean accessControlEnabled)
public boolean isAllowAnonymousAccess()
protected void setAllowAnonymousAccess(boolean enableAnonymousAccess)
public java.util.List getInterceptorConfigurations()
protected void setInterceptorConfigurations(java.util.List interceptorConfigurations)
public java.util.List getTestEntries()
Attributes
) to be loaded while
bootstrapping.
protected void setTestEntries(java.util.List testEntries)
Attributes
) to be loaded while
bootstrapping.
public java.io.File getWorkingDirectory()
protected void setWorkingDirectory(java.io.File workingDirectory)
public void validate()
Configuration
validate
in class Configuration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |