DigestSchemeFactory.java revision 069490a5ca2fd1988d29daf45d892f47ad665115
18d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt/* 28d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestSchemeFactory.java $ 3b6e9aaf735990dc64cdb6efccc03d076768eabf3Dmitry Shmidt * $Revision: 534839 $ 48d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * $Date: 2007-05-03 06:03:41 -0700 (Thu, 03 May 2007) $ 5c5ec7f57ead87efa365800228aa0b09a12d9e6c4Dmitry Shmidt * 6c5ec7f57ead87efa365800228aa0b09a12d9e6c4Dmitry Shmidt * ==================================================================== 78d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * Licensed to the Apache Software Foundation (ASF) under one 88d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * or more contributor license agreements. See the NOTICE file 98d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * distributed with this work for additional information 108d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * regarding copyright ownership. The ASF licenses this file 118d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * to you under the Apache License, Version 2.0 (the 128d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * "License"); you may not use this file except in compliance 138d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * with the License. You may obtain a copy of the License at 14fb79edc9df1f20461e90e478363d207348213d35Dmitry Shmidt * 15fb79edc9df1f20461e90e478363d207348213d35Dmitry Shmidt * http://www.apache.org/licenses/LICENSE-2.0 16fb79edc9df1f20461e90e478363d207348213d35Dmitry Shmidt * 17fb79edc9df1f20461e90e478363d207348213d35Dmitry Shmidt * Unless required by applicable law or agreed to in writing, 188d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * software distributed under the License is distributed on an 198d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 208d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * KIND, either express or implied. See the License for the 218d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * specific language governing permissions and limitations 228d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * under the License. 238d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * ==================================================================== 248d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * 258d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * This software consists of voluntary contributions made by many 268d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * individuals on behalf of the Apache Software Foundation. For more 278d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * information on the Apache Software Foundation, please see 288d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * <http://www.apache.org/>. 298d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * 308d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt */ 318d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt 328d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtpackage org.apache.http.impl.auth; 338d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt 348d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtimport org.apache.http.auth.AuthScheme; 358d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtimport org.apache.http.auth.AuthSchemeFactory; 368d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtimport org.apache.http.params.HttpParams; 378d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt 388d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt/** 398d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * 408d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a> 418d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * 428d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt * @since 4.0 438d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt */ 448d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtpublic class DigestSchemeFactory implements AuthSchemeFactory { 458d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt 468d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt public AuthScheme newInstance(final HttpParams params) { 478d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt return new DigestScheme(); 488d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt } 498d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt 508d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt} 518d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt