Skip navigation links
Embedded LDAP JUnit Rule, v. 0.5.2
A B C D E I L M N O S T U W 

A

apply(Statement, Description) - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl
 
asDelegatingContext(InitialDirContext) - Static method in class org.zapodot.junit.ldap.internal.jndi.ContextProxyFactory
 
asDelegatingDirContext(InitialDirContext) - Static method in class org.zapodot.junit.ldap.internal.jndi.ContextProxyFactory
 
AuthenticationConfiguration - Class in org.zapodot.junit.ldap.internal
LDAP authentication POJO.
AuthenticationConfiguration(String, String) - Constructor for class org.zapodot.junit.ldap.internal.AuthenticationConfiguration
 

B

bindingToAddress(String) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
Allows the listening address for the embedded LDAP server to be set.
bindingToPort(int) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
Sets the port that the in-memory LDAP server will bind to.
build() - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
Creates a new rule based on the information that was previously provided

C

close() - Static method in class org.zapodot.junit.ldap.internal.jndi.ContextInterceptor
 
context() - Method in interface org.zapodot.junit.ldap.EmbeddedLdapRule
For tests depending on the standard Java JNDI API
context() - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl
 
ContextInterceptor - Class in org.zapodot.junit.ldap.internal.jndi
Interceptor for the Context interface proxy that suppress calls to the close() method.
ContextInterceptor() - Constructor for class org.zapodot.junit.ldap.internal.jndi.ContextInterceptor
 
ContextProxy - Interface in org.zapodot.junit.ldap.internal.jndi
Interface that is dynamically added to the Context proxy class to allow delegation.
ContextProxyFactory - Class in org.zapodot.junit.ldap.internal.jndi
A factory that creates delegating proxys for the Context and DirContext interfaces that delegates to an underlying InitialDirContext This class is part of the internal API and may thus be changed or removed without warning
ContextProxyFactory() - Constructor for class org.zapodot.junit.ldap.internal.jndi.ContextProxyFactory
 
createForConfiguration(InMemoryDirectoryServerConfig, AuthenticationConfiguration, List<String>) - Static method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl
 
createProxy(LDAPConnection) - Static method in class org.zapodot.junit.ldap.internal.unboundid.LDAPInterfaceProxyFactory
Create a proxy that delegates to the provided Connection except for calls to "close()" which will be suppressed.
credentials - Variable in class org.zapodot.junit.ldap.internal.AuthenticationConfiguration
 

D

DEFAULT_BIND_CREDENTIALS - Static variable in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 
DEFAULT_BIND_DSN - Static variable in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 
DEFAULT_DOMAIN - Static variable in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 
dirContext() - Method in interface org.zapodot.junit.ldap.EmbeddedLdapRule
Like EmbeddedLdapRule.context(), but returns a DirContext
dirContext() - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl
 
DirContextProxy - Interface in org.zapodot.junit.ldap.internal.jndi
An interface that is implemented by the DirContext proxy to allow delegation.

E

EmbeddedLdapRule - Interface in org.zapodot.junit.ldap
A JUnit rule that may be used as either a @Rule or a @ClassRule
EmbeddedLdapRuleBuilder - Class in org.zapodot.junit.ldap
A builder providing a fluent way of defining EmbeddedLdapRule instances
EmbeddedLdapRuleBuilder() - Constructor for class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 
EmbeddedLdapRuleImpl - Class in org.zapodot.junit.ldap.internal
 
embeddedServerPort() - Method in interface org.zapodot.junit.ldap.EmbeddedLdapRule
Gives access to the listening port for the currently running embedded LDAP server.
embeddedServerPort() - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl
 

I

importingLdifs(String...) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
Specify one or more LDIF resources to be imported on startup.

L

LDAP_SERVER_LISTENER_NAME - Static variable in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 
ldapConnection() - Method in interface org.zapodot.junit.ldap.EmbeddedLdapRule
For tests depending on the UnboundID LDAP SDK.
ldapConnection() - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl
 
LDAPConnectionProxy - Interface in org.zapodot.junit.ldap.internal.unboundid
A interface that is added to the LDAPInterface proxy to allow delegation.
LDAPInterfaceProxyFactory - Class in org.zapodot.junit.ldap.internal.unboundid
Creates a new LDAPInterface proxy that hides potentially harmful methods from the LDAPConnection class.
LDAPInterfaceProxyFactory() - Constructor for class org.zapodot.junit.ldap.internal.unboundid.LDAPInterfaceProxyFactory
 

M

MAX_PORT_EXCLUSIVE - Static variable in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 
MIN_PORT_EXCLUSIVE - Static variable in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 

N

newInstance() - Static method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
Creates a new builder

O

org.zapodot.junit.ldap - package org.zapodot.junit.ldap
Public API
org.zapodot.junit.ldap.internal - package org.zapodot.junit.ldap.internal
Internal API.
org.zapodot.junit.ldap.internal.jndi - package org.zapodot.junit.ldap.internal.jndi
 
org.zapodot.junit.ldap.internal.unboundid - package org.zapodot.junit.ldap.internal.unboundid
 

S

setDelegatedContext(Context) - Method in interface org.zapodot.junit.ldap.internal.jndi.ContextProxy
 
setDelegatedDirContext(DirContext) - Method in interface org.zapodot.junit.ldap.internal.jndi.DirContextProxy
 
setLdapConnection(LDAPConnection) - Method in interface org.zapodot.junit.ldap.internal.unboundid.LDAPConnectionProxy
 

T

toAuthenticationEnvironment() - Method in class org.zapodot.junit.ldap.internal.AuthenticationConfiguration
 

U

unsharedLdapConnection() - Method in interface org.zapodot.junit.ldap.EmbeddedLdapRule
For tests depending on the UnboundID LDAP SDK that needs access to an ${link LDAPConnection} object rather than the interface.
unsharedLdapConnection() - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl
 
userDn - Variable in class org.zapodot.junit.ldap.internal.AuthenticationConfiguration
 
usingBindCredentials(String) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
Sets the credentials to be used to authenticate.
usingBindDSN(String) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
Sets the DSN to bind to when authenticating.
usingDomainDsn(String) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
Sets a domainDsn to be used.

W

withoutDefaultSchema() - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
Avoid adding UnboundID's default schema that contains the most common LDAP elements defined through various RFC's.
withSchema(String...) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
Define schemas to be used for the server.
A B C D E I L M N O S T U W 
Skip navigation links
Embedded LDAP JUnit Rule, v. 0.5.2

Copyright © 2015 Sondre Eikanger Kvalø. All rights reserved..