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

A

AbstractDelegatingSocketFactory() - Constructor for class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl.AbstractDelegatingSocketFactory
 
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
createForConfiguration(InMemoryDirectoryServerConfig, AuthenticationConfiguration, List<String>, boolean, SSLSocketFactory) - 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.
createSocket() - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl.AbstractDelegatingSocketFactory
 
createSocket(String, int) - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl.AbstractDelegatingSocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl.AbstractDelegatingSocketFactory
 
createSocket(InetAddress, int) - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl.AbstractDelegatingSocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl.AbstractDelegatingSocketFactory
 
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
 
EmbeddedLdapRuleImpl.AbstractDelegatingSocketFactory - 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
 

G

getDefault() - Static method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl.AbstractDelegatingSocketFactory
 
getDelegate() - Method in class org.zapodot.junit.ldap.internal.EmbeddedLdapRuleImpl.AbstractDelegatingSocketFactory
 

I

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

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.

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
 
useTls(boolean) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 
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

withListener(InMemoryListenerConfig) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 
withMaxSizeLimit(int) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 
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.
withSocketFactory(SSLSocketFactory) - Method in class org.zapodot.junit.ldap.EmbeddedLdapRuleBuilder
 
A B C D E G I L M N O S T U W 
Skip navigation links
Embedded LDAP JUnit Rule, v. 0.9.0

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