org.wso2.carbon.apacheds
Class DirectoryServiceFactory

java.lang.Object
  extended by org.wso2.carbon.apacheds.DirectoryServiceFactory

public class DirectoryServiceFactory
extends Object

A factory class to instantiate LDAPServer and KDCServer instances.


Nested Class Summary
static class DirectoryServiceFactory.LDAPServerType
           
 
Constructor Summary
DirectoryServiceFactory()
           
 
Method Summary
static KDCServer createKDCServer(DirectoryServiceFactory.LDAPServerType serverType)
          Creates a KDC server instance.
static LDAPServer createLDAPServer(DirectoryServiceFactory.LDAPServerType serverType)
          Creates a LDAP server instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryServiceFactory

public DirectoryServiceFactory()
Method Detail

createLDAPServer

public static LDAPServer createLDAPServer(DirectoryServiceFactory.LDAPServerType serverType)
Creates a LDAP server instance.

Parameters:
serverType - Type of the LDAP server. Currently we only have apacheds implementation.
Returns:
An instance of LDAPServer

createKDCServer

public static KDCServer createKDCServer(DirectoryServiceFactory.LDAPServerType serverType)
Creates a KDC server instance.

Parameters:
serverType - Type of the LDAP server. Currently we only have apacheds based implementation.
Returns:
An instance of KDCServer


Copyright © 2015 WSO2. All rights reserved.