public abstract class AbstractLdapTestUnit extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.directory.server.core.api.DirectoryService |
classDirectoryService
The class DirectoryService instance
|
static org.apache.directory.server.ldap.LdapServer |
classLdapServer
The class LdapServer instance
|
static org.apache.directory.server.core.api.DirectoryService |
directoryService
The current DirectoryService instance
|
static org.apache.directory.ldap.client.template.LdapConnectionTemplate |
ldapConnectionTemplate
The Ldap connection template
|
static org.apache.directory.server.ldap.LdapServer |
ldapServer
The current LdapServer instance
|
static org.apache.directory.server.core.api.DirectoryService |
methodDirectoryService
The test DirectoryService instance
|
static org.apache.directory.server.ldap.LdapServer |
methodLdapServer
The test LdapServer instance
|
static long |
revision
The current revision
|
| Constructor and Description |
|---|
AbstractLdapTestUnit() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeCertificate(String keyStoreFile,
String password,
String issuerDn,
String subjectDn,
int days,
String algorithm) |
org.apache.directory.server.ldap.LdapServer |
getLdapServer() |
org.apache.directory.server.core.api.DirectoryService |
getService() |
protected Hashtable<String,Object> |
setDefaultJNDIEnv() |
protected Hashtable<String,Object> |
setDefaultJNDIEnv(String factoryName) |
void |
setLdapServer(org.apache.directory.server.ldap.LdapServer ldapServer) |
void |
setService(org.apache.directory.server.core.api.DirectoryService directoryService) |
public static org.apache.directory.server.core.api.DirectoryService classDirectoryService
public static org.apache.directory.server.core.api.DirectoryService methodDirectoryService
public static org.apache.directory.server.core.api.DirectoryService directoryService
public static org.apache.directory.server.ldap.LdapServer classLdapServer
public static org.apache.directory.server.ldap.LdapServer methodLdapServer
public static org.apache.directory.server.ldap.LdapServer ldapServer
public static org.apache.directory.ldap.client.template.LdapConnectionTemplate ldapConnectionTemplate
public static long revision
public AbstractLdapTestUnit()
public org.apache.directory.server.core.api.DirectoryService getService()
public void setService(org.apache.directory.server.core.api.DirectoryService directoryService)
public org.apache.directory.server.ldap.LdapServer getLdapServer()
public void setLdapServer(org.apache.directory.server.ldap.LdapServer ldapServer)
public void changeCertificate(String keyStoreFile, String password, String issuerDn, String subjectDn, int days, String algorithm) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionprotected Hashtable<String,Object> setDefaultJNDIEnv()
protected Hashtable<String,Object> setDefaultJNDIEnv(String factoryName)
Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.