public class LdapPoolByDomain
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LdapPoolByDomain.LdapConnectionContext |
Constructor and Description |
---|
LdapPoolByDomain() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<LdapPoolByDomain.LdapConnectionContext> |
getAuthenticatedConnectionContext(Parameters ldapParameters)
Get authenticated LDAP connection, using login/password from LDAP parameters
|
LdapPoolByDomain.LdapConnectionContext |
getConnectionContext(Parameters ldapParameters)
Get anonymous LDAP connection
|
void |
releaseConnectionContext(LdapPoolByDomain.LdapConnectionContext ldapConCtx) |
void |
resetPool(Parameters ldapParameters) |
public LdapPoolByDomain.LdapConnectionContext getConnectionContext(Parameters ldapParameters) throws java.lang.Exception
ldapParameters
- java.lang.Exception
public java.util.Optional<LdapPoolByDomain.LdapConnectionContext> getAuthenticatedConnectionContext(Parameters ldapParameters) throws java.lang.Exception
ldapParameters
- java.lang.Exception
public void releaseConnectionContext(LdapPoolByDomain.LdapConnectionContext ldapConCtx) throws java.lang.Exception
java.lang.Exception
public void resetPool(Parameters ldapParameters)
Copyright © 2021. All Rights Reserved.