|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ResultCode | |
|---|---|
| org.ldaptive | |
| org.ldaptive.async | |
| org.ldaptive.auth | |
| org.ldaptive.auth.ext | |
| org.ldaptive.control | |
| org.ldaptive.provider | |
| org.ldaptive.provider.jndi | |
| Uses of ResultCode in org.ldaptive |
|---|
| Methods in org.ldaptive that return ResultCode | |
|---|---|
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. |
| Constructors in org.ldaptive with parameters of type ResultCode | |
|---|---|
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. |
|
| Uses of ResultCode in org.ldaptive.async |
|---|
| Methods in org.ldaptive.async that return ResultCode | |
|---|---|
ResultCode |
FutureResponse.getResultCode()
Returns the result code of the ldap operation. |
| Uses of ResultCode in org.ldaptive.auth |
|---|
| Constructors in org.ldaptive.auth with parameters of type ResultCode | |
|---|---|
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,
LdapEntry entry)
Creates a new authentication response. |
|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
LdapEntry entry,
String msg)
Creates a new authentication response. |
|
AuthenticationResponse(AuthenticationResultCode authRc,
ResultCode rc,
LdapEntry entry,
String msg,
ResponseControl[] controls,
int msgId)
Creates a new authentication response. |
|
| Uses of ResultCode in org.ldaptive.auth.ext |
|---|
| Methods in org.ldaptive.auth.ext with parameters of type ResultCode | |
|---|---|
static FreeIPAAccountState.Error |
FreeIPAAccountState.Error.parse(ResultCode rc,
String message)
Parses the supplied error messages and returns the corresponding error enum. |
| Uses of ResultCode in org.ldaptive.control |
|---|
| Methods in org.ldaptive.control that return ResultCode | |
|---|---|
ResultCode |
SortResponseControl.getSortResult()
Returns the result code of the server side sort. |
ResultCode |
VirtualListViewResponseControl.getViewResult()
Returns the result code of the virtual list view. |
| Methods in org.ldaptive.control with parameters of type ResultCode | |
|---|---|
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. |
| Constructors in org.ldaptive.control with parameters of type ResultCode | |
|---|---|
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. |
|
| Uses of ResultCode in org.ldaptive.provider |
|---|
| Methods in org.ldaptive.provider that return ResultCode | |
|---|---|
ResultCode[] |
ProviderConfig.getOperationExceptionResultCodes()
Returns the result codes that trigger an operation exception. |
| Methods in org.ldaptive.provider with parameters of type ResultCode | |
|---|---|
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. |
| Constructors in org.ldaptive.provider with parameters of type ResultCode | |
|---|---|
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. |
|
| Uses of ResultCode in org.ldaptive.provider.jndi |
|---|
| Methods in org.ldaptive.provider.jndi that return ResultCode | |
|---|---|
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. |
| Methods in org.ldaptive.provider.jndi with parameters of type ResultCode | ||
|---|---|---|
protected
|
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. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||