| Package | Description |
|---|---|
| org.ldaptive | |
| org.ldaptive.async | |
| org.ldaptive.auth | |
| org.ldaptive.control | |
| org.ldaptive.provider | |
| org.ldaptive.provider.jndi |
| Modifier and Type | Field and Description |
|---|---|
private ResultCode |
LdapException.resultCode
ldap result code.
|
private ResultCode |
Response.resultCode
Operation result code.
|
| Modifier and Type | Method and Description |
|---|---|
ResultCode |
LdapException.getResultCode()
Returns the ldap result code associated with this exception.
|
ResultCode |
Response.getResultCode()
Returns the result code of the ldap operation.
|
static ResultCode |
ResultCode.valueOf(int code)
Returns the result code for the supplied integer constant.
|
static ResultCode |
ResultCode.valueOf(java.lang.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(java.lang.Exception e,
ResultCode code)
Creates a new ldap exception.
|
LdapException(java.lang.Exception e,
ResultCode code,
java.lang.String dn)
Creates a new ldap exception.
|
LdapException(java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c)
Creates a new ldap exception.
|
LdapException(java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls)
Creates a new ldap exception.
|
LdapException(java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls,
int id)
Creates a new ldap exception.
|
LdapException(java.lang.String msg,
java.lang.Exception e,
ResultCode code)
Creates a new ldap exception.
|
LdapException(java.lang.String msg,
java.lang.Exception e,
ResultCode code,
java.lang.String dn)
Creates a new ldap exception.
|
LdapException(java.lang.String msg,
java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c)
Creates a new ldap exception.
|
LdapException(java.lang.String msg,
java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls)
Creates a new ldap exception.
|
LdapException(java.lang.String msg,
java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls,
int id)
Creates a new ldap exception.
|
LdapException(java.lang.String msg,
ResultCode code)
Creates a new ldap exception.
|
LdapException(java.lang.String msg,
ResultCode code,
java.lang.String dn)
Creates a new ldap exception.
|
LdapException(java.lang.String msg,
ResultCode code,
java.lang.String dn,
ResponseControl[] c)
Creates a new ldap exception.
|
LdapException(java.lang.String msg,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls)
Creates a new ldap exception.
|
LdapException(java.lang.String msg,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls,
int id)
Creates a new ldap exception.
|
OperationException(java.lang.Exception e,
ResultCode code)
Creates a new operation exception.
|
OperationException(java.lang.Exception e,
ResultCode code,
java.lang.String dn)
Creates a new operation exception.
|
OperationException(java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c)
Creates a new operation exception.
|
OperationException(java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls)
Creates a new operation exception.
|
OperationException(java.lang.String msg,
java.lang.Exception e,
ResultCode code)
Creates a new operation exception.
|
OperationException(java.lang.String msg,
java.lang.Exception e,
ResultCode code,
java.lang.String dn)
Creates a new operation exception.
|
OperationException(java.lang.String msg,
java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c)
Creates a new operation exception.
|
OperationException(java.lang.String msg,
java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls)
Creates a new operation exception.
|
OperationException(java.lang.String msg,
ResultCode code)
Creates a new operation exception.
|
OperationException(java.lang.String msg,
ResultCode code,
java.lang.String dn)
Creates a new operation exception.
|
OperationException(java.lang.String msg,
ResultCode code,
java.lang.String dn,
ResponseControl[] c)
Creates a new operation exception.
|
OperationException(java.lang.String msg,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls)
Creates a new operation exception.
|
Response(T t,
ResultCode rc)
Creates a new ldap response.
|
Response(T t,
ResultCode rc,
java.lang.String msg,
java.lang.String dn,
ResponseControl[] c,
java.lang.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,
java.lang.String msg)
Creates a new authentication response.
|
AuthenticationHandlerResponse(boolean success,
ResultCode rc,
Connection conn,
java.lang.String msg,
ResponseControl[] controls,
int msgId)
Creates a new ldap response.
|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
java.lang.String dn,
LdapEntry entry)
Creates a new authentication response.
|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
java.lang.String dn,
LdapEntry entry,
java.lang.String msg)
Creates a new authentication response.
|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
java.lang.String dn,
LdapEntry entry,
java.lang.String msg,
ResponseControl[] controls,
int msgId)
Creates a new authentication response.
|
| Modifier and Type | Field and Description |
|---|---|
private ResultCode |
SortResponseControl.sortResult
Result of the server side sorting.
|
private ResultCode |
VirtualListViewResponseControl.viewResult
Result of the vlv operation.
|
| 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,
java.lang.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 | Field and Description |
|---|---|
private ResultCode[] |
ProviderConfig.operationExceptionResultCodes
Result codes indicating that an operation exception should be thrown.
|
| 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,
java.lang.Exception e,
int resultCode,
java.lang.String matchedDn,
ResponseControl[] respControls,
java.lang.String[] referralUrls,
boolean throwLdapException)
Determines whether to throw operation exception or ldap exception.
|
static void |
ProviderUtils.throwOperationException(ResultCode[] operationRetryResultCodes,
java.lang.String msg,
int resultCode,
java.lang.String matchedDn,
ResponseControl[] respControls,
java.lang.String[] referralUrls,
boolean throwLdapException)
Determines whether to throw operation exception or ldap exception.
|
| Constructor and Description |
|---|
ConnectionException(java.lang.Exception e,
ResultCode code)
Creates a new connection exception.
|
ConnectionException(java.lang.Exception e,
ResultCode code,
java.lang.String dn)
Creates a new connection exception.
|
ConnectionException(java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c)
Creates a new connection exception.
|
ConnectionException(java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls)
Creates a new connection exception.
|
ConnectionException(java.lang.String msg,
java.lang.Exception e,
ResultCode code)
Creates a new connection exception.
|
ConnectionException(java.lang.String msg,
java.lang.Exception e,
ResultCode code,
java.lang.String dn)
Creates a new connection exception.
|
ConnectionException(java.lang.String msg,
java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c)
Creates a new connection exception.
|
ConnectionException(java.lang.String msg,
java.lang.Exception e,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls)
Creates a new connection exception.
|
ConnectionException(java.lang.String msg,
ResultCode code)
Creates a new connection exception.
|
ConnectionException(java.lang.String msg,
ResultCode code,
java.lang.String dn)
Creates a new connection exception.
|
ConnectionException(java.lang.String msg,
ResultCode code,
java.lang.String dn,
ResponseControl[] c)
Creates a new connection exception.
|
ConnectionException(java.lang.String msg,
ResultCode code,
java.lang.String dn,
ResponseControl[] c,
java.lang.String[] urls)
Creates a new connection exception.
|
| Modifier and Type | Field and Description |
|---|---|
private ResultCode |
JndiConnection.JndiSearchIterator.responseResultCode
Response result code.
|
private ResultCode[] |
JndiProviderConfig.searchIgnoreResultCodes
Search result codes to ignore.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<ResultCode,java.lang.Class<? extends javax.naming.NamingException>> |
NamingExceptionUtils.RESULT_CODES_TO_EXCEPTION
Map of ldap result codes to naming exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
static ResultCode |
NamingExceptionUtils.getResultCode(java.lang.Class<? extends javax.naming.NamingException> clazz)
Returns the result code that map to the supplied naming exception.
|
static ResultCode |
NamingExceptionUtils.getResultCode(java.lang.String message)
Returns the result code contained in the supplied naming exception message.
|
static ResultCode[] |
NamingExceptionUtils.getResultCodes(java.lang.Class<? extends javax.naming.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,
javax.naming.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,
java.lang.String[] urls,
javax.naming.ldap.LdapContext ctx)
Creates an operation response with the supplied response data.
|
static java.lang.Class<? extends javax.naming.NamingException> |
NamingExceptionUtils.getNamingException(ResultCode code)
Returns the naming exception that maps to the supplied result code.
|
protected ResultCode |
JndiConnection.JndiSearchIterator.ignoreSearchException(ResultCode[] ignoreResultCodes,
javax.naming.NamingException e)
Determines whether the supplied naming exception should be ignored.
|
static boolean |
NamingExceptionUtils.matches(java.lang.Class<? extends javax.naming.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.
|