org.wso2.carbon.apacheds
Class DirectoryServiceFactory
java.lang.Object
org.wso2.carbon.apacheds.DirectoryServiceFactory
public class DirectoryServiceFactory
- extends Object
A factory class to instantiate LDAPServer and KDCServer instances.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryServiceFactory
public DirectoryServiceFactory()
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.