亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? authchallengeprocessor.java

?? Light in the box 抓取程序。 使用HttpClient
?? JAVA
字號:
/* * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/auth/AuthChallengeProcessor.java,v 1.2 2004/04/18 23:51:36 jsdever Exp $ * $Revision: 480424 $ * $Date: 2006-11-29 06:56:49 +0100 (Wed, 29 Nov 2006) $ * * ==================================================================== * *  Licensed to the Apache Software Foundation (ASF) under one or more *  contributor license agreements.  See the NOTICE file distributed with *  this work for additional information regarding copyright ownership. *  The ASF licenses this file to You under the Apache License, Version 2.0 *  (the "License"); you may not use this file except in compliance with *  the License.  You may obtain a copy of the License at * *      http://www.apache.org/licenses/LICENSE-2.0 * *  Unless required by applicable law or agreed to in writing, software *  distributed under the License is distributed on an "AS IS" BASIS, *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *  See the License for the specific language governing permissions and *  limitations under the License. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation.  For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * */package org.apache.commons.httpclient.auth;import java.util.Collection;import java.util.Iterator;import java.util.Map;import org.apache.commons.httpclient.params.HttpParams;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;/** * This class provides utility methods for processing HTTP www and proxy authentication  * challenges. *  * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a> *  * @since 3.0 */public final class AuthChallengeProcessor {    private static final Log LOG = LogFactory.getLog(AuthChallengeProcessor.class);    private HttpParams params = null;        /**     * Creates an authentication challenge processor with the given {@link HttpParams HTTP      * parameters}     *      * @param params the {@link HttpParams HTTP parameters} used by this processor     */    public AuthChallengeProcessor(final HttpParams params) {        super();        if (params == null) {            throw new IllegalArgumentException("Parameter collection may not be null");        }        this.params = params;    }    /**     * Determines the preferred {@link AuthScheme authentication scheme} that can be used      * to respond to the given collection of challenges.     *      * @param challenges the collection of authentication challenges     *      * @return the preferred {@link AuthScheme authentication scheme}     *      * @throws AuthChallengeException if the preferred authentication scheme      * cannot be determined or is not supported     */    public AuthScheme selectAuthScheme(final Map challenges) throws AuthChallengeException {        if (challenges == null) {            throw new IllegalArgumentException("Challenge map may not be null");         }        Collection authPrefs = (Collection) this.params.getParameter(            AuthPolicy.AUTH_SCHEME_PRIORITY);        if (authPrefs == null || authPrefs.isEmpty()) {            authPrefs = AuthPolicy.getDefaultAuthPrefs();            }        if (LOG.isDebugEnabled()) {            LOG.debug("Supported authentication schemes in the order of preference: "                 + authPrefs);        }        AuthScheme authscheme = null;        String challenge = null;        Iterator item = authPrefs.iterator();        while (item.hasNext()) {            String id = (String) item.next();            challenge = (String) challenges.get(id.toLowerCase());             if (challenge != null) {                if (LOG.isInfoEnabled()) {                    LOG.info(id + " authentication scheme selected");                }                try {                    authscheme = AuthPolicy.getAuthScheme(id);                } catch (IllegalStateException e) {                    throw new AuthChallengeException(e.getMessage());                }                break;            } else {                if (LOG.isDebugEnabled()) {                    LOG.debug("Challenge for " + id + " authentication scheme not available");                    // Try again                }            }        }        if (authscheme == null) {            // If none selected, something is wrong            throw new AuthChallengeException(                "Unable to respond to any of these challenges: "                    + challenges);        }        return authscheme;    }    /**     * Processes the given collection of challenges and updates the      * {@link AuthState state} of the authentication process.     *      * @param challenges the collection of authentication challenges     *      * @return the {@link AuthScheme authentication scheme} used to      * process the challenge     *      * @throws AuthChallengeException if authentication challenges cannot be      * successfully processed or the preferred authentication scheme cannot     * be determined     */    public AuthScheme processChallenge(final AuthState state, final Map challenges)        throws MalformedChallengeException, AuthenticationException    {            if (state == null) {            throw new IllegalArgumentException("Authentication state may not be null");         }        if (challenges == null) {            throw new IllegalArgumentException("Challenge map may not be null");         }                if (state.isPreemptive() || state.getAuthScheme() == null) {            // Authentication not attempted before            state.setAuthScheme(selectAuthScheme(challenges));        }        AuthScheme authscheme = state.getAuthScheme();        String id = authscheme.getSchemeName();        if (LOG.isDebugEnabled()) {            LOG.debug("Using authentication scheme: " + id);        }        String challenge = (String) challenges.get(id.toLowerCase());        if (challenge == null) {            throw new AuthenticationException(id +                 " authorization challenge expected, but not found");        }        authscheme.processChallenge(challenge);        LOG.debug("Authorization challenge processed");        return authscheme;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲观看高清完整版在线观看| 国产精品视频一二| 日本韩国精品一区二区在线观看| 国产成人精品一区二区三区网站观看| 美女视频黄频大全不卡视频在线播放| 天天综合日日夜夜精品| 日韩黄色小视频| 韩国成人在线视频| 国产很黄免费观看久久| 成人深夜福利app| 99re6这里只有精品视频在线观看| av电影一区二区| 91福利视频久久久久| 欧美巨大另类极品videosbest | 成人免费va视频| 成人av高清在线| 在线观看日韩电影| 欧美精品免费视频| 久久久www免费人成精品| 中文字幕的久久| 亚洲国产精品一区二区www| 热久久免费视频| 国产盗摄视频一区二区三区| 成年人午夜久久久| 欧美日本不卡视频| 国产午夜一区二区三区| 亚洲精品一二三四区| 美洲天堂一区二卡三卡四卡视频| 岛国一区二区在线观看| 在线观看av不卡| 国产亚洲综合av| 性做久久久久久免费观看欧美| 麻豆91在线看| 在线免费观看成人短视频| 日韩视频国产视频| 亚洲品质自拍视频网站| 精品影视av免费| 欧美视频在线不卡| 国产欧美一区二区三区在线老狼 | 一区二区三区四区国产精品| 免费成人美女在线观看| av电影在线观看一区| 91麻豆精品国产综合久久久久久| 中文字幕av不卡| 久久99久久99精品免视看婷婷| 91在线观看成人| 欧美精品一区二区在线观看| 亚洲精品videosex极品| 国产最新精品免费| 777奇米成人网| 亚洲一区二区三区四区在线| 国产成人精品影视| 精品美女一区二区三区| 亚洲电影在线免费观看| 99re亚洲国产精品| 久久精品免费在线观看| 美女视频黄久久| 欧美精品一二三四| 亚洲视频图片小说| 成人精品一区二区三区四区| 26uuu精品一区二区在线观看| 蜜桃视频在线观看一区| 欧美午夜理伦三级在线观看| 中文字幕一区av| 风流少妇一区二区| 久久综合国产精品| 精品一区二区三区的国产在线播放| 欧美日韩亚洲高清一区二区| 亚洲图片欧美色图| 欧洲精品中文字幕| 一区二区三区视频在线看| caoporn国产精品| 亚洲欧洲在线观看av| 岛国一区二区在线观看| 亚洲国产成人在线| www.成人在线| 亚洲欧美激情视频在线观看一区二区三区 | 国产精品久久久久久久岛一牛影视| 国产一区二区在线电影| 精品粉嫩超白一线天av| 国产一区二区三区四区五区入口| 欧美精品一区二区在线观看| 国产一区二区视频在线| 国产亚洲欧美日韩在线一区| 国产盗摄女厕一区二区三区| 中文乱码免费一区二区| 99re视频精品| 天天综合天天综合色| 日韩精品一区二区在线| 国产一区欧美二区| 国产精品美女久久久久久久| 色综合激情五月| 天天色综合成人网| 欧美精品一区二区三| 成人小视频在线观看| 一区二区三区四区不卡视频| 欧美一区二区三区在线观看 | 日韩精品一区二区三区老鸭窝| 久久成人久久鬼色| 亚洲国产精品成人综合| 91久久精品日日躁夜夜躁欧美| 热久久久久久久| 欧美激情综合网| 在线播放91灌醉迷j高跟美女 | 日韩高清一区在线| 精品国产乱码久久久久久闺蜜| 成人午夜视频在线观看| 亚洲成av人片在线观看无码| 久久精品人人做人人爽人人| 在线观看欧美黄色| 国产一区二区在线看| 亚洲在线视频免费观看| 久久久一区二区| 欧美日韩免费观看一区三区| 黑人巨大精品欧美黑白配亚洲| 国产精品传媒在线| 日韩三级.com| 欧美视频中文字幕| 国产91丝袜在线播放| 性久久久久久久久| 中文字幕亚洲区| 2023国产一二三区日本精品2022| 色婷婷综合视频在线观看| 韩国欧美国产一区| 午夜精品久久久久久久99水蜜桃 | 欧美三级视频在线| 成人手机在线视频| 久久精品国内一区二区三区| 亚洲美女偷拍久久| 欧美韩国一区二区| 欧美mv日韩mv国产网站app| 欧美自拍偷拍一区| 99视频精品在线| 成人精品免费网站| 国产一区二区三区久久久| 婷婷成人综合网| 亚洲国产毛片aaaaa无费看 | 日本欧美大码aⅴ在线播放| 日韩美女视频19| 中文字幕亚洲一区二区va在线| 久久久久99精品国产片| 51精品视频一区二区三区| 欧美中文字幕一区二区三区| 色婷婷亚洲精品| 91精品福利视频| 一本色道久久综合亚洲aⅴ蜜桃| 国产成人精品亚洲日本在线桃色| 免费观看久久久4p| 日本中文在线一区| 男男视频亚洲欧美| 捆绑调教一区二区三区| 蜜臀国产一区二区三区在线播放| 午夜激情综合网| 日产精品久久久久久久性色| 偷拍一区二区三区四区| 亚洲一二三四久久| 午夜久久电影网| 免费欧美日韩国产三级电影| 麻豆精品在线看| 狠狠狠色丁香婷婷综合激情| 国产激情一区二区三区| 国产一区免费电影| 成人av免费在线观看| 色又黄又爽网站www久久| 日本道精品一区二区三区| 欧美色手机在线观看| 91精品国产入口| 久久久精品影视| 亚洲欧美国产77777| 亚洲成人av中文| 韩日精品视频一区| 成人免费视频免费观看| 日本黄色一区二区| 337p亚洲精品色噜噜狠狠| 精品国产a毛片| 亚洲日本韩国一区| 午夜精品一区二区三区电影天堂 | 亚洲日本在线天堂| 亚洲福利一区二区| 国产在线视视频有精品| 99精品国产91久久久久久| 欧美日韩午夜在线| 久久精品亚洲一区二区三区浴池| 亚洲免费观看高清完整版在线观看 | 7777精品伊人久久久大香线蕉超级流畅| 7777女厕盗摄久久久| 国产亚洲女人久久久久毛片| 亚洲精品美腿丝袜| 久久 天天综合| 日本高清无吗v一区| 欧美精品一区二区在线观看| 亚洲精品成人在线| 六月丁香婷婷色狠狠久久| 欧美日韩日日夜夜| 日韩一区二区在线观看视频播放 | 亚洲一区二区欧美日韩| 久久99国内精品| 色屁屁一区二区| 日本一区二区三区在线观看| 午夜伦理一区二区|