2728N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2728N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2728N/A * This code is free software; you can redistribute it and/or modify it 2728N/A * under the terms of the GNU General Public License version 2 only, as 2728N/A * published by the Free Software Foundation. 2728N/A * This code is distributed in the hope that it will be useful, but WITHOUT 2728N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 2728N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 2728N/A * version 2 for more details (a copy is included in the LICENSE file that 2728N/A * You should have received a copy of the GNU General Public License version 2728N/A * 2 along with this work; if not, write to the Free Software Foundation, 2728N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2728N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2728N/A * or visit www.oracle.com if you need additional information or have any 2728N/A * @summary NTLM should be a supported Java SASL mechanism 2728N/A // Server accepts all version 2728N/A // Client's default version is LMv2 2728N/A // Also works if they specified identical versions 2728N/A // But should not work if different 2728N/A * A test on version matching 2728N/A * @param vc ntlm version specified for client 2728N/A * @param vs ntlm version specified for server 2728N/A pc.
put(
"com.sun.security.sasl.ntlm.hostname",
"this.is.com");
2728N/A * Client realm override, but finally overridden by server response 2728N/A * Client side user name provided in callback. 2728N/A * server side domain provided in props. 2728N/A "FAILURE: mismatched state:"