4714N/A * The contents of this file are subject to the terms of the 4714N/A * Common Development and Distribution License, Version 1.0 only 4714N/A * (the "License"). You may not use this file except in compliance 4714N/A * See the License for the specific language governing permissions 4714N/A * and limitations under the License. 4714N/A * When distributing Covered Code, include this CDDL HEADER in each 6982N/A * If applicable, add the following below this CDDL HEADER, with the 6982N/A * fields enclosed by brackets "[]" replaced with your own identifying 4714N/A * Portions Copyright [yyyy] [name of copyright owner] 4714N/A * Portions Copyright 2009 Sun Microsystems, Inc. 4714N/A * This class defines a set of constants that correspond to the result codes 4714N/A * defined in the LDAP protocol. Note that many (but not all) of the result 4714N/A * codes numbered 81 and higher come from the LDAP C API specification and are 4714N/A * only intended for client-side use and should not be returned from the 4714N/A * Directory Server. These are denoted with a "CLIENT_SIDE_" prefix. 4714N/A * The LDAP result code for successful operations. 4714N/A * The LDAP result code for operations that fail due to an operations error. 4714N/A * The LDAP result code for operations that fail due to a protocol error. 4714N/A * The LDAP result code for operations that fail as a result of exceeding a 4714N/A * The LDAP result code for operations that fail as a result of exceeding a 4714N/A * The LDAP result code for compare operations in which the assertion is 4714N/A * The LDAP result code for compare operations in which the assertion is true. 4714N/A * The LDAP result code for operations that fail because the requested 4714N/A * authentication method is not supported. 4714N/A * The LDAP result code for operations that fail because strong authentication 4714N/A * The LDAP result code for operations that encountered a referral. 4714N/A * The LDAP result code for operations that fail as a result of exceeding an 4714N/A * The LDAP result code for operations that fail because they contain an 4714N/A * unavailable critical extension. 4714N/A * The LDAP result code for operations that fail because confidentiality is 4714N/A * The LDAP result code used for multi-stage SASL bind operations that are not 4714N/A * The LDAP result code for operations that fail because a specified attribute 4714N/A * The LDAP result code for operations that fail because a specified attribute 4714N/A * type is not defined in the server schema. 4714N/A * The LDAP result code for operations that fail as a result of attempting an 4714N/A * inappropriate form of matching on an attribute. 4714N/A * The LDAP result code for operations that fail because a defined constraint 4714N/A * The LDAP result code for operations that fail because of a conflict with an 4714N/A * existing attribute or value. 4714N/A * The LDAP result code for operations that fail because of an invalid 4714N/A * The LDAP result code for operations that fail because a targeted entry does 4714N/A * The LDAP result code for operations that fail because the an alias was 4714N/A * encountered in an illegal context. 4714N/A * The LDAP result code for operations that fail because the request included 4714N/A * The LDAP result code for operations that fail because a problem occurred 4714N/A * while attempting to dereference an alias. 4714N/A * The LDAP result code for operations that fail because the user attempted to 4714N/A * perform a type of authentication that was inappropriate for the targeted 4714N/A * The LDAP result code for operations that fail because the user supplied 4714N/A * invalid credentials for an authentication attempt. 4714N/A * The LDAP result code for operations that fail because the client does not 4714N/A * have permission to perform the requested operation. 4714N/A * The LDAP result code for operations that fail because the server was too 4714N/A * The LDAP result code for operations that fail because the server or a 4714N/A * required resource was unavailable. 4714N/A * The LDAP result code for operations that fail because the server was 4714N/A * unwilling to perform the requested operation. 4714N/A * The LDAP result code for operations that fail because a referral or 4714N/A * chaining loop was detected. 4714N/A * The LDAP result code for operations that fail because the request included 4714N/A * a VLV request control without a server-side sort control. 4714N/A * The LDAP result code for operations that fail because the request included 4714N/A * a VLV request control with an invalid offset. 4714N/A * The LDAP result code for operations that fail due to a naming violation. 4714N/A * The LDAP result code for operations that fail because the requested 4714N/A * operation would have resulted in an entry that violates the server schema. 4714N/A * The LDAP result code for operations that fail because the requested 4714N/A * operation is not allowed on non-leaf entries. 4714N/A * The LDAP result code for operations that fail because the requested 4714N/A * operation is not allowed on an RDN attribute. 4714N/A * The LDAP result code for operations that fail because the requested 4714N/A * operation would have resulted in an entry that conflicts with one that 4714N/A * The LDAP result code for operations that fail because the requested 4714N/A * operation attempted to modify objectclass values in an illegal manner. 4714N/A * The LDAP result code for operations that fail because the requested 4714N/A * operation would have required interaction with multiple DSAs. 4714N/A * The LDAP result code for operations that fail due to an error in 4714N/A * virtual list view processing. 4714N/A * The LDAP result code for use in cases in which none of the other defined 4714N/A * result codes are appropriate. 4714N/A * The client-side result code that indicates that a previously-established 4714N/A * connection to the server was lost. This is for client-side use only and 4714N/A * should never be transferred over protocol. 4714N/A * The client-side result code that indicates that a local error occurred that 4714N/A * had nothing to do with interaction with the server. This is for 4714N/A * client-side use only and should never be transferred over protocol. 4714N/A * The client-side result code that indicates that an error occurred while 4714N/A * encoding a request to send to the server. This is for client-side use only 4714N/A * and should never be transferred over protocol. 4714N/A * The client-side result code that indicates that an error occurred while 4714N/A * decoding a response from the server. This is for client-side use only and 4714N/A * should never be transferred over protocol. 4714N/A * The client-side result code that indicates that the client did not receive 4714N/A * an expected response in a timely manner. This is for client-side use only 4714N/A * and should never be transferred over protocol. 4714N/A * The client-side result code that indicates that the user requested an 4714N/A * unknown or unsupported authentication mechanism. This is for client-side 4714N/A * use only and should never be transferred over protocol. 4714N/A * The client-side result code that indicates that the filter provided by the 4714N/A * user was malformed and could not be parsed. This is for client-side use 4714N/A * only and should never be transferred over protocol. 4714N/A * The client-side result code that indicates that the user cancelled an 4714N/A * operation. This is for client-side use only and should never be 4714N/A * transferred over protocol. 4714N/A * The client-side result code that indicates that there was a problem with 4714N/A * one or more of the parameters provided by the user. This is for 4714N/A * client-side use only and should never be transferred over protocol. 4714N/A * The client-side result code that indicates that the client application was 4714N/A * not able to allocate enough memory for the requested operation. This is 4714N/A * for client-side use only and should never be transferred over protocol. 4714N/A * The client-side result code that indicates that the client was not able to 4714N/A * establish a connection to the server. This is for client-side use only and 4714N/A * should never be transferred over protocol. 4714N/A * The client-side result code that indicates that the user requested an 4714N/A * operation that is not supported. This is for client-side use only and 4714N/A * should never be transferred over protocol. 4714N/A * The client-side result code that indicates that the client expected a 4714N/A * control to be present in the response from the server but it was not 4714N/A * included. This is for client-side use only and should never be transferred 4714N/A * The client-side result code that indicates that the server did not return 4714N/A * any results for a search operation that was expected to match at least one 4714N/A * entry. This is for client-side use only and should never be transferred 4714N/A * The client-side result code that indicates that the server has returned 4714N/A * more matching entries for a search operation than have been processed so 4714N/A * far. This is for client-side use only and should never be transferred over 4714N/A * The client-side result code that indicates that the client detected a 4714N/A * referral loop caused by servers referencing each other in a circular 4714N/A * manner. This is for client-side use only and should never be transferred 4714N/A * The client-side result code that indicates that the client reached the 4714N/A * maximum number of hops allowed when attempting to follow a referral (i.e., 4714N/A * following one referral resulted in another referral which resulted in 4714N/A * another referral and so on). This is for client-side use only and should 4714N/A * never be transferred over protocol. 4714N/A * The LDAP result code for cancel operations that are successful, or for 4714N/A * operations that are canceled. 4714N/A * The LDAP result code for cancel operations that fail because the specified 4714N/A * operation could not be found. 4714N/A * The LDAP result code for cancel operations that fail because the specified 4714N/A * operation has already progressed too far to be canceled. 4714N/A * The LDAP result code for cancel operations that fail because the specified 4714N/A * operation cannot be canceled. 4714N/A * The LDAP result code for operations that are rejected because the 4714N/A * filter in the LDAP assertion control did not match the target entry. 4714N/A * The LDAP result code for operations that fail because the server refused 4714N/A * the client's requested authorization. 4714N/A * The LDAP result code for operations in which no action is taken because the 4714N/A * request include the LDAP no-op control. 4714N/A * FIXME -- This is a temporary result code for use until 4714N/A * draft-zeilenga-ldap-noop is updated and an official result code is 4714N/A * allocated for it. In the meantime, this result appears to be the 4714N/A * one used by OpenLDAP as per the message at 4714N/A * Retrieves a string representation of the provided LDAP result code. 4714N/A * @param resultCode The LDAP result code value for which to obtain the 4714N/A * @return The string representation of the provided LDAP result code.