org.apache.ldap.server.configuration
Class ServerStartupConfiguration

java.lang.Object
  extended by org.apache.ldap.server.configuration.Configuration
      extended by org.apache.ldap.server.configuration.StartupConfiguration
          extended by org.apache.ldap.server.configuration.ServerStartupConfiguration
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
MutableServerStartupConfiguration

public class ServerStartupConfiguration
extends StartupConfiguration

A StartupConfiguration that starts up ApacheDS with network layer support.

Version:
$Rev: 329335 $, $Date: 2005-10-28 20:57:58 -0400 (Fri, 28 Oct 2005) $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.ldap.server.configuration.Configuration
DEFAULT_INSTANCE_ID, JNDI_KEY
 
Constructor Summary
protected ServerStartupConfiguration()
           
 
Method Summary
 java.util.Collection getExtendedOperationHandlers()
           
 int getLdapPort()
          Returns LDAP TCP/IP port number to listen to.
 int getLdapsPort()
          Returns LDAPS TCP/IP port number to listen to.
 java.io.File getLdifDirectory()
           
 java.util.List getLdifFilters()
           
 org.apache.mina.registry.ServiceRegistry getMinaServiceRegistry()
          Returns MINA ServiceRegistry that will be used by ApacheDS.
 boolean isEnableChangePassword()
          Returns true if Change Password support is enabled.
 boolean isEnableKerberos()
          Returns true if Kerberos support is enabled.
 boolean isEnableNetworking()
          Returns true if networking (LDAP, LDAPS, and Kerberos) is enabled.
 boolean isEnableNtp()
          Returns true if Kerberos support is enabled.
protected  void setEnableChangePassword(boolean enableChangePassword)
          Sets whether to enable Change Password support or not.
protected  void setEnableKerberos(boolean enableKerberos)
          Sets whether to enable Kerberos support or not.
 void setEnableNetworking(boolean enableNetworking)
          Sets whether to enable networking (LDAP, LDAPS, and Kerberos) or not.
protected  void setEnableNtp(boolean enableNtp)
          Sets whether to enable Ntp support or not.
protected  void setExtendedOperationHandlers(java.util.Collection handlers)
           
protected  void setLdapPort(int ldapPort)
          Sets LDAP TCP/IP port number to listen to.
protected  void setLdapsPort(int ldapsPort)
          Sets LDAPS TCP/IP port number to listen to.
protected  void setLdifDirectory(java.io.File ldifDirectory)
           
protected  void setLdifFilters(java.util.List filters)
           
protected  void setMinaServiceRegistry(org.apache.mina.registry.ServiceRegistry minaServiceRegistry)
          Sets MINA ServiceRegistry that will be used by ApacheDS.
 
Methods inherited from class org.apache.ldap.server.configuration.StartupConfiguration
getAuthenticatorConfigurations, getBootstrapSchemas, getContextPartitionConfigurations, getInterceptorConfigurations, getTestEntries, getWorkingDirectory, isAccessControlEnabled, isAllowAnonymousAccess, setAccessControlEnabled, setAllowAnonymousAccess, setAuthenticatorConfigurations, setBootstrapSchemas, setContextPartitionConfigurations, setInterceptorConfigurations, setTestEntries, setWorkingDirectory, validate
 
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

ServerStartupConfiguration

protected ServerStartupConfiguration()
Method Detail

isEnableNetworking

public boolean isEnableNetworking()
Returns true if networking (LDAP, LDAPS, and Kerberos) is enabled.


setEnableNetworking

public void setEnableNetworking(boolean enableNetworking)
Sets whether to enable networking (LDAP, LDAPS, and Kerberos) or not.


isEnableKerberos

public boolean isEnableKerberos()
Returns true if Kerberos support is enabled.


isEnableChangePassword

public boolean isEnableChangePassword()
Returns true if Change Password support is enabled.


isEnableNtp

public boolean isEnableNtp()
Returns true if Kerberos support is enabled.


setEnableKerberos

protected void setEnableKerberos(boolean enableKerberos)
Sets whether to enable Kerberos support or not.


setEnableChangePassword

protected void setEnableChangePassword(boolean enableChangePassword)
Sets whether to enable Change Password support or not.


setEnableNtp

protected void setEnableNtp(boolean enableNtp)
Sets whether to enable Ntp support or not.


getLdapPort

public int getLdapPort()
Returns LDAP TCP/IP port number to listen to.


setLdapPort

protected void setLdapPort(int ldapPort)
Sets LDAP TCP/IP port number to listen to.


getLdapsPort

public int getLdapsPort()
Returns LDAPS TCP/IP port number to listen to.


setLdapsPort

protected void setLdapsPort(int ldapsPort)
Sets LDAPS TCP/IP port number to listen to.


getMinaServiceRegistry

public org.apache.mina.registry.ServiceRegistry getMinaServiceRegistry()
Returns MINA ServiceRegistry that will be used by ApacheDS.


setMinaServiceRegistry

protected void setMinaServiceRegistry(org.apache.mina.registry.ServiceRegistry minaServiceRegistry)
Sets MINA ServiceRegistry that will be used by ApacheDS.


getExtendedOperationHandlers

public java.util.Collection getExtendedOperationHandlers()

setExtendedOperationHandlers

protected void setExtendedOperationHandlers(java.util.Collection handlers)

getLdifDirectory

public java.io.File getLdifDirectory()

setLdifDirectory

protected void setLdifDirectory(java.io.File ldifDirectory)

getLdifFilters

public java.util.List getLdifFilters()

setLdifFilters

protected void setLdifFilters(java.util.List filters)