2362N/A * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A // fully qualified name of starting context of search 0N/A boolean relative =
true;
// whether relative to currentDN 0N/A // need to strip off all but lowest component of dn 0N/A // so that is relative to current context (currentDN) 0N/A // System.err.println("dn string: " + dn); 0N/A // System.err.println("dn name: " + parsed); 0N/A // could not parse name 0N/A // Name relative to search context 0N/A // Name relative to homeCtx 0N/A //System.err.println("relStart: " + cn); 0N/A //System.err.println("relHome: " + rcn); 0N/A // Fix attributes to be able to get schema 0N/A // only generate object when requested 0N/A // Entry contains Java-object attributes (ser/ref object) 0N/A // serialized object or object reference 0N/A // Call getObjectInstance before removing unrequested attributes 0N/A // rcn is either relative to homeCtx or a fully qualified DN 0N/A "problem generating object using object factory");
0N/A // remove Java attributes from result, if necessary 0N/A // Even if CLASSNAME attr not there, there might be some 0N/A // residual attributes 0N/A // create an attribute set for those requested 0N/A // Remove Java-object attributes if not requested 0N/A * name in search result is either the stringified composite name 0N/A * relative to the search context that can be passed directly to 0N/A * methods of the search context, or the fully qualified DN 0N/A * which can be used with the initial context. 0N/A // a referral has been followed so do not create relative names 0N/A // repeat the original operation at the new context 0N/A // Update search-specific variables 0N/A//VR - keep original args, don't overwite with current args 0N/A// searchArgs = se.searchArgs;