0N/A * The contents of this file are subject to the terms of the 0N/A * Common Development and Distribution License, Version 1.0 only 0N/A * (the "License"). You may not use this file except in compliance 0N/A * You can obtain a copy of the license at 0N/A * See the License for the specific language governing permissions 0N/A * and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL HEADER in each 0N/A * file and include the License file at 0N/A * add the following below this CDDL HEADER, with the fields enclosed 873N/A * by brackets "[]" replaced with your own identifying information: 0N/A * Portions Copyright [yyyy] [name of copyright owner] 3231N/A * Copyright 2006-2008 Sun Microsystems, Inc. 5970N/A * Portions Copyright 2012 ForgeRock AS. 0N/A * This class provides the functionality for the performing an 0N/A * LDAP EXTENDED operation based on the specified DSML request. 0N/A * Create an instance with the specified LDAP connection. 0N/A * @param connection The LDAP connection to send the request on. 5980N/A * @param stringResponses The OIDs of any operations that have results that 5980N/A * should be returned as strings instead of binary. 5980N/A * Determine if the response to a given LDAP extended operation (specified by 5980N/A * OID) should be treated as a string. The default is binary. 5980N/A * @param oid The OID of the extended operation. 5980N/A * @return <CODE>true</CODE> if the extended operation is known to return a 5980N/A * string, <CODE>false</CODE> otherwise. 0N/A * Perform the LDAP EXTENDED operation and send the result back to the 0N/A * @param objFactory The object factory for this operation. 0N/A * @param extendedRequest The extended request for this operation. 5982N/A * @param controls Any required controls (e.g. for proxy authz). 0N/A * @return The result of the extended operation. 0N/A * @throws IOException If an I/O problem occurs. 0N/A * @throws LDAPException If an error occurs while interacting with an LDAP 0N/A * @throws ASN1Exception If an error occurs while interacting with an ASN.1 0N/A // Create and send the LDAP request to the server. 0N/A // Read and decode the LDAP response from the server. 0N/A // Set the result code and error message for the DSML response.