Package technology.openpool.ldap.adapter
Class CommonLdapServer
- java.lang.Object
-
- technology.openpool.ldap.adapter.CommonLdapServer
-
public class CommonLdapServer extends Object
The main application starts ApacheDS and initializes Crowd client api.
-
-
Constructor Summary
Constructors Constructor Description CommonLdapServer(ServerConfiguration serverConfig)Instantiates a new LDAP server.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryBackendFactorygetDirectoryBackendFactory()Gets the directory backend factory.ServerConfigurationgetServerConfig()Gets the server config.booleanisStarted()Indicates whether the directory service is already running.voidshutdown()Shutdown method.voidstartup()Startup method.
-
-
-
Constructor Detail
-
CommonLdapServer
public CommonLdapServer(ServerConfiguration serverConfig)
Instantiates a new LDAP server.- Parameters:
serverConfig- the server config
-
-
Method Detail
-
getServerConfig
public ServerConfiguration getServerConfig()
Gets the server config.- Returns:
- the server config
-
getDirectoryBackendFactory
public DirectoryBackendFactory getDirectoryBackendFactory()
Gets the directory backend factory.- Returns:
- the directory backend factory
-
startup
public void startup()
Startup method.
-
shutdown
public void shutdown()
Shutdown method.
-
isStarted
public boolean isStarted()
Indicates whether the directory service is already running.- Returns:
- the boolean
-
-