2362N/A * Copyright (c) 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 * @author Michael McMahon 0N/A * Interface provided by internal http authentication cache. 0N/A * NB. This API will be replaced in a future release, and should 0N/A * not be made public. 0N/A * Put an entry in the cache. pkey is a string specified as follows: 0N/A * A:[B:]C:D:E[:F] Between 4 and 6 fields separated by ":" 0N/A * where the fields have the following meaning: 0N/A * A is "s" or "p" for server or proxy authentication respectively 1670N/A * B is optional and is the {@link AuthScheme}, e.g. BASIC, DIGEST, NTLM, etc 0N/A * C is either "http" or "https" 0N/A * E is the port number 0N/A * F is optional and if present is the realm 0N/A * Generally, two entries are created for each AuthCacheValue, 0N/A * one including the realm and one without the realm. 0N/A * Also, for some schemes (digest) multiple entries may be created 0N/A * with the same pkey, but with a different path value in 0N/A * the AuthCacheValue. 0N/A * Get an entry from the cache based on pkey as described above, but also 0N/A * using a pathname (skey) and the cache must return an entry 0N/A * if skey is a sub-path of the AuthCacheValue.path field. 0N/A * remove the entry from the cache whose pkey is specified and 0N/A * whose path is equal to entry.path. If entry is null then 0N/A * all entries with the same pkey should be removed.