Modifier and Type | Field and Description |
---|---|
private ResultCode |
Response.resultCode
Operation result code.
|
private ResultCode |
LdapException.resultCode
ldap result code.
|
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 |
---|---|
static FreeIPAAccountState.Error |
FreeIPAAccountState.Error.parse(ResultCode rc,
String message)
Parses the supplied error messages and returns the corresponding error enum.
|
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,
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,
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 | Field and Description |
---|---|
private ResultCode[] |
JLdapProviderConfig.searchIgnoreResultCodes
Search result codes to ignore.
|
Modifier and Type | Method and Description |
---|---|
ResultCode[] |
JLdapProviderConfig.getSearchIgnoreResultCodes()
Returns the search ignore result codes.
|
protected ResultCode |
JLdapConnection.AbstractJLdapSearch.ignoreSearchException(ResultCode[] ignoreResultCodes,
com.novell.ldap.LDAPException e)
Determines whether the supplied ldap exception should be ignored.
|
Modifier and Type | Method and Description |
---|---|
protected ResultCode |
JLdapConnection.AbstractJLdapSearch.ignoreSearchException(ResultCode[] ignoreResultCodes,
com.novell.ldap.LDAPException e)
Determines whether the supplied ldap exception should be ignored.
|
void |
JLdapProviderConfig.setSearchIgnoreResultCodes(ResultCode[] codes)
Sets the search ignore result codes.
|
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 Map<ResultCode,Class<? extends NamingException>> |
NamingExceptionUtils.RESULT_CODES_TO_EXCEPTION
Map of ldap result codes to naming exceptions.
|
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.
|
Modifier and Type | Field and Description |
---|---|
private ResultCode[] |
OpenDJProviderConfig.searchIgnoreResultCodes
Search result codes to ignore.
|
Modifier and Type | Method and Description |
---|---|
ResultCode[] |
OpenDJProviderConfig.getSearchIgnoreResultCodes()
Returns the search ignore result codes.
|
protected ResultCode |
OpenDJConnection.AbstractOpenDJSearch.ignoreSearchException(ResultCode[] ignoreResultCodes,
org.forgerock.opendj.ldap.ErrorResultException e)
Determines whether the supplied ldap exception should be ignored.
|
Modifier and Type | Method and Description |
---|---|
protected ResultCode |
OpenDJConnection.AbstractOpenDJSearch.ignoreSearchException(ResultCode[] ignoreResultCodes,
org.forgerock.opendj.ldap.ErrorResultException e)
Determines whether the supplied ldap exception should be ignored.
|
void |
OpenDJProviderConfig.setSearchIgnoreResultCodes(ResultCode[] codes)
Sets the search ignore result codes.
|
Modifier and Type | Field and Description |
---|---|
private ResultCode[] |
UnboundIDProviderConfig.searchIgnoreResultCodes
Search result codes to ignore.
|
Modifier and Type | Method and Description |
---|---|
ResultCode[] |
UnboundIDProviderConfig.getSearchIgnoreResultCodes()
Returns the search ignore result codes.
|
protected ResultCode |
UnboundIDConnection.AbstractUnboundIDSearch.ignoreSearchException(ResultCode[] ignoreResultCodes,
com.unboundid.ldap.sdk.LDAPException e)
Determines whether the supplied ldap exception should be ignored.
|
Modifier and Type | Method and Description |
---|---|
protected ResultCode |
UnboundIDConnection.AbstractUnboundIDSearch.ignoreSearchException(ResultCode[] ignoreResultCodes,
com.unboundid.ldap.sdk.LDAPException e)
Determines whether the supplied ldap exception should be ignored.
|
void |
UnboundIDProviderConfig.setSearchIgnoreResultCodes(ResultCode[] codes)
Sets the search ignore result codes.
|
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.