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