Package | Description |
---|---|
org.ldaptive | |
org.ldaptive.async | |
org.ldaptive.auth | |
org.ldaptive.control | |
org.ldaptive.provider | |
org.ldaptive.provider.jndi |
Modifier and Type | Method and Description |
---|---|
ResultCode |
Response.getResultCode()
Returns the result code of the ldap operation.
|
ResultCode |
LdapException.getResultCode()
Returns the ldap result code associated with this exception.
|
static ResultCode |
ResultCode.valueOf(int code)
Returns the result code for the supplied integer constant.
|
static ResultCode |
ResultCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultCode[] |
ResultCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
LdapException(Exception e,
ResultCode code)
Creates a new ldap exception.
|
LdapException(Exception e,
ResultCode code,
String dn)
Creates a new ldap exception.
|
LdapException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new ldap exception.
|
LdapException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new ldap exception.
|
LdapException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls,
int id)
Creates a new ldap exception.
|
LdapException(String msg,
Exception e,
ResultCode code)
Creates a new ldap exception.
|
LdapException(String msg,
Exception e,
ResultCode code,
String dn)
Creates a new ldap exception.
|
LdapException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new ldap exception.
|
LdapException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new ldap exception.
|
LdapException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls,
int id)
Creates a new ldap exception.
|
LdapException(String msg,
ResultCode code)
Creates a new ldap exception.
|
LdapException(String msg,
ResultCode code,
String dn)
Creates a new ldap exception.
|
LdapException(String msg,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new ldap exception.
|
LdapException(String msg,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new ldap exception.
|
LdapException(String msg,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls,
int id)
Creates a new ldap exception.
|
OperationException(Exception e,
ResultCode code)
Creates a new operation exception.
|
OperationException(Exception e,
ResultCode code,
String dn)
Creates a new operation exception.
|
OperationException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new operation exception.
|
OperationException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new operation exception.
|
OperationException(String msg,
Exception e,
ResultCode code)
Creates a new operation exception.
|
OperationException(String msg,
Exception e,
ResultCode code,
String dn)
Creates a new operation exception.
|
OperationException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new operation exception.
|
OperationException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new operation exception.
|
OperationException(String msg,
ResultCode code)
Creates a new operation exception.
|
OperationException(String msg,
ResultCode code,
String dn)
Creates a new operation exception.
|
OperationException(String msg,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new operation exception.
|
OperationException(String msg,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new operation exception.
|
Response(T t,
ResultCode rc)
Creates a new ldap response.
|
Response(T t,
ResultCode rc,
String msg,
String dn,
ResponseControl[] c,
String[] urls,
int id)
Creates a new ldap response.
|
Modifier and Type | Method and Description |
---|---|
ResultCode |
FutureResponse.getResultCode() |
Constructor and Description |
---|
AuthenticationHandlerResponse(boolean success,
ResultCode rc,
Connection conn)
Creates a new authentication response.
|
AuthenticationHandlerResponse(boolean success,
ResultCode rc,
Connection conn,
String msg)
Creates a new authentication response.
|
AuthenticationHandlerResponse(boolean success,
ResultCode rc,
Connection conn,
String msg,
ResponseControl[] controls,
int msgId)
Creates a new ldap response.
|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
String dn,
LdapEntry entry)
Creates a new authentication response.
|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
String dn,
LdapEntry entry,
String msg)
Creates a new authentication response.
|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
String dn,
LdapEntry entry,
String msg,
ResponseControl[] controls,
int msgId)
Creates a new authentication response.
|
Modifier and Type | Method and Description |
---|---|
ResultCode |
SortResponseControl.getSortResult()
Returns the result code of the server side sort.
|
ResultCode |
VirtualListViewResponseControl.getViewResult()
Returns the result code of the virtual list view.
|
Modifier and Type | Method and Description |
---|---|
void |
SortResponseControl.setSortResult(ResultCode code)
Sets the result code of the server side sort.
|
void |
VirtualListViewResponseControl.setViewResult(ResultCode code)
Sets the result code of the virtual list view.
|
Constructor and Description |
---|
SortResponseControl(ResultCode code,
boolean critical)
Creates a new sort response control.
|
SortResponseControl(ResultCode code,
String attrName,
boolean critical)
Creates a new sort response control.
|
VirtualListViewResponseControl(int position,
int count,
ResultCode code,
byte[] context)
Creates a new virtual list view response control.
|
VirtualListViewResponseControl(int position,
int count,
ResultCode code,
byte[] context,
boolean critical)
Creates a new virtual list view response control.
|
Modifier and Type | Method and Description |
---|---|
ResultCode[] |
ProviderConfig.getOperationExceptionResultCodes()
Returns the result codes that trigger an operation exception.
|
Modifier and Type | Method and Description |
---|---|
void |
ProviderConfig.setOperationExceptionResultCodes(ResultCode... codes)
Sets the result codes that trigger an operation exception.
|
static void |
ProviderUtils.throwOperationException(ResultCode[] operationRetryResultCodes,
Exception e,
int resultCode,
String matchedDn,
ResponseControl[] respControls,
String[] referralUrls,
boolean throwLdapException)
Determines whether to throw operation exception or ldap exception.
|
static void |
ProviderUtils.throwOperationException(ResultCode[] operationRetryResultCodes,
String msg,
int resultCode,
String matchedDn,
ResponseControl[] respControls,
String[] referralUrls,
boolean throwLdapException)
Determines whether to throw operation exception or ldap exception.
|
Constructor and Description |
---|
ConnectionException(Exception e,
ResultCode code)
Creates a new connection exception.
|
ConnectionException(Exception e,
ResultCode code,
String dn)
Creates a new connection exception.
|
ConnectionException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new connection exception.
|
ConnectionException(Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new connection exception.
|
ConnectionException(String msg,
Exception e,
ResultCode code)
Creates a new connection exception.
|
ConnectionException(String msg,
Exception e,
ResultCode code,
String dn)
Creates a new connection exception.
|
ConnectionException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new connection exception.
|
ConnectionException(String msg,
Exception e,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new connection exception.
|
ConnectionException(String msg,
ResultCode code)
Creates a new connection exception.
|
ConnectionException(String msg,
ResultCode code,
String dn)
Creates a new connection exception.
|
ConnectionException(String msg,
ResultCode code,
String dn,
ResponseControl[] c)
Creates a new connection exception.
|
ConnectionException(String msg,
ResultCode code,
String dn,
ResponseControl[] c,
String[] urls)
Creates a new connection exception.
|
Modifier and Type | Method and Description |
---|---|
static ResultCode |
NamingExceptionUtils.getResultCode(Class<? extends NamingException> clazz)
Returns the result code that map to the supplied naming exception.
|
static ResultCode |
NamingExceptionUtils.getResultCode(String message)
Returns the result code contained in the supplied naming exception message.
|
static ResultCode[] |
NamingExceptionUtils.getResultCodes(Class<? extends NamingException> clazz)
Returns the result codes that map to the supplied naming exception.
|
ResultCode[] |
JndiProviderConfig.getSearchIgnoreResultCodes()
Returns the search ignore result codes.
|
protected ResultCode |
JndiConnection.JndiSearchIterator.ignoreSearchException(ResultCode[] ignoreResultCodes,
NamingException e)
Determines whether the supplied naming exception should be ignored.
|
Modifier and Type | Method and Description |
---|---|
protected <T> Response<T> |
JndiConnection.createResponse(Request request,
T result,
ResultCode code,
String[] urls,
LdapContext ctx)
Creates an operation response with the supplied response data.
|
static Class<? extends NamingException> |
NamingExceptionUtils.getNamingException(ResultCode code)
Returns the naming exception that maps to the supplied result code.
|
protected ResultCode |
JndiConnection.JndiSearchIterator.ignoreSearchException(ResultCode[] ignoreResultCodes,
NamingException e)
Determines whether the supplied naming exception should be ignored.
|
static boolean |
NamingExceptionUtils.matches(Class<? extends NamingException> clazz,
ResultCode code)
Returns whether the supplied naming exception maps to the supplied result code.
|
void |
JndiProviderConfig.setSearchIgnoreResultCodes(ResultCode... codes)
Sets the search ignore result codes.
|
Copyright © 2018. All rights reserved.