org.apache.geronimo.directory
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.geronimo.directory.ServerStartupConfiguration
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
MutableServerStartupConfiguration

public class ServerStartupConfiguration
extends org.apache.ldap.server.configuration.StartupConfiguration

A StartupConfiguration that starts up ApacheDS with network layer support.

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
protected  InetAddress getHost()
           
 int getLdapPort()
          Returns LDAP TCP/IP port number to listen to.
 int getLdapsPort()
          Returns LDAPS TCP/IP port number to listen to.
 org.apache.mina.registry.ServiceRegistry getMinaServiceRegistry()
          Returns MINA ServiceRegistry that will be used by ApacheDS.
 boolean isEnableKerberos()
          Returns true if Kerberos support is enabled.
 boolean isEnableNetworking()
          Returns true if networking (LDAP, LDAPS, and Kerberos) is enabled.
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 setHost(InetAddress host)
           
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 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, isAllowAnonymousAccess, 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

getHost

protected InetAddress getHost()

setHost

protected void setHost(InetAddress host)

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.


setEnableKerberos

protected void setEnableKerberos(boolean enableKerberos)
Sets whether to enable Kerberos 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.



Copyright © 2006 Apache Software Foundation. All Rights Reserved.