public class LDAPEmbeddedServer
extends org.picketbox.test.ldap.AbstractLDAPTest
Constructor and Description |
---|
LDAPEmbeddedServer() |
Modifier and Type | Method and Description |
---|---|
static void |
clearSubContexts(DirContext ctx,
Name name) |
protected void |
createBaseDN() |
String |
getAgentDnSuffix() |
String |
getBaseDn() |
int |
getBatchSizeForSync() |
String |
getBindCredential() |
String |
getBindDn() |
String |
getConnectionUrl() |
String |
getGroupDnSuffix() |
Map<String,String> |
getLDAPConfig() |
String |
getRolesDnSuffix() |
String |
getUserDnSuffix() |
String |
getUsernameLDAPAttribute() |
String |
getUserObjectClasses() |
String |
getVendor() |
void |
importLDIF(String fileName) |
boolean |
isConnectionPooling() |
boolean |
isPagination() |
boolean |
isStartEmbeddedLdapLerver() |
boolean |
isUserAccountControlsAfterPasswordUpdate() |
protected void |
loadConnectionProperties() |
void |
setup() |
void |
tearDown() |
public static final String CONNECTION_PROPERTIES
protected String connectionUrl
protected String baseDn
protected String userDnSuffix
protected String rolesDnSuffix
protected String groupDnSuffix
protected String agentDnSuffix
protected boolean startEmbeddedLdapLerver
protected String bindDn
protected String bindCredential
protected String vendor
protected boolean connectionPooling
protected boolean pagination
protected int batchSizeForSync
protected String usernameLDAPAttribute
protected String userObjectClasses
protected boolean userAccountControlsAfterPasswordUpdate
public static String IDM_TEST_LDAP_CONNECTION_URL
public static String IDM_TEST_LDAP_BASE_DN
public static String IDM_TEST_LDAP_ROLES_DN_SUFFIX
public static String IDM_TEST_LDAP_GROUP_DN_SUFFIX
public static String IDM_TEST_LDAP_USER_DN_SUFFIX
public static String IDM_TEST_LDAP_AGENT_DN_SUFFIX
public static String IDM_TEST_LDAP_START_EMBEDDED_LDAP_SERVER
public static String IDM_TEST_LDAP_BIND_DN
public static String IDM_TEST_LDAP_BIND_CREDENTIAL
public static String IDM_TEST_LDAP_VENDOR
public static String IDM_TEST_LDAP_CONNECTION_POOLING
public static String IDM_TEST_LDAP_PAGINATION
public static String IDM_TEST_LDAP_BATCH_SIZE_FOR_SYNC
public static String IDM_TEST_LDAP_USERNAME_LDAP_ATTRIBUTE
public static String IDM_TEST_LDAP_USER_OBJECT_CLASSES
public static String IDM_TEST_LDAP_USER_ACCOUNT_CONTROLS_AFTER_PASSWORD_UPDATE
protected void loadConnectionProperties()
public void setup() throws Exception
setup
in class org.picketbox.test.ldap.AbstractLDAPTest
Exception
public void tearDown() throws Exception
tearDown
in class org.picketbox.test.ldap.AbstractLDAPTest
Exception
public static void clearSubContexts(DirContext ctx, Name name) throws NamingException
NamingException
public String getConnectionUrl()
public String getBaseDn()
public String getUserDnSuffix()
public String getRolesDnSuffix()
public String getGroupDnSuffix()
public String getAgentDnSuffix()
public boolean isStartEmbeddedLdapLerver()
public String getBindDn()
public String getBindCredential()
public String getVendor()
public boolean isConnectionPooling()
public boolean isPagination()
public int getBatchSizeForSync()
public String getUsernameLDAPAttribute()
public String getUserObjectClasses()
public boolean isUserAccountControlsAfterPasswordUpdate()
public void importLDIF(String fileName) throws Exception
importLDIF
in class org.picketbox.test.ldap.AbstractLDAPTest
Exception
Copyright © 2014. All Rights Reserved.