2362N/A * Copyright (c) 2000, 2009, 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 * The base class used by client and server implementations of SASL 0N/A * mechanisms to process properties passed in the props argument 0N/A * and strings with the same format (e.g., used in digest-md5). 0N/A * Also contains utilities for doing int to network-byte-order 0N/A * @author Rosanna Lee 0N/A protected byte[]
qop;
// ordered list of qops 0N/A protected byte allQop;
// a mask indicating which QOPs are requested 0N/A protected byte[]
strength;
// ordered list of cipher strengths 0N/A // These are relevant only when privacy or integray have been negotiated 0N/A // Parse properties to set desired context options 0N/A // "auth", "auth-int", "auth-conf" 0N/A "SASLIMPL01:Preferred qop property: {0}",
prop);
0N/A // "low", "medium", "high" 0N/A "SASLIMPL04:Preferred strength property: {0}",
prop);
0N/A // Max receive buffer size 0N/A "SASLIMPL06:Max receive buffer size: {0}",
prop);
0N/A "Property must be string representation of integer: " +
0N/A // Max send buffer size 0N/A "SASLIMPL07:Max send buffer size: {0}",
prop);
0N/A "Property must be string representation of integer: " +
0N/A * Determines whether this mechanism has completed. 0N/A * @return true if has completed; false otherwise; 0N/A * Retrieves the negotiated property. 0N/A * @exception SaslException if this authentication exchange has not completed 0N/A // Initialize rest of array with 0 6446N/A * Outputs a byte array. Can be null. 0N/A // Message id supplied by caller as part of traceTag 0N/A "SASLIMPL09:Error generating trace output: {0}", e);
0N/A * Returns the integer represented by 4 bytes in network byte order. 0N/A * Encodes an integer into 4 bytes in network byte order in the buffer 0N/A // ---------------- Constants ----------------- 1525N/A * Logger for debug messages 0N/A // default 0 (no protection); 1 (integrity only)