org.apache.mina.proxy.handlers.http.digest
Class DigestUtilities

java.lang.Object
  extended by org.apache.mina.proxy.handlers.http.digest.DigestUtilities

public class DigestUtilities
extends Object

DigestUtilities.java - A class supporting the HTTP DIGEST authentication (see RFC 2617).

Since:
MINA 2.0.0-M3
Version:
$Rev: 686486 $, $Date: 2008-08-16 14:46:10 +0200 (Sa, 16 Aug 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Field Summary
static String SESSION_HA1
           
static String[] SUPPORTED_QOPS
           
 
Constructor Summary
DigestUtilities()
           
 
Method Summary
static String computeResponseValue(IoSession session, HashMap<String,String> map, String method, String pwd, String charsetName, String body)
          Computes the response to the DIGEST challenge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SESSION_HA1

public static final String SESSION_HA1

SUPPORTED_QOPS

public static final String[] SUPPORTED_QOPS
Constructor Detail

DigestUtilities

public DigestUtilities()
Method Detail

computeResponseValue

public static String computeResponseValue(IoSession session,
                                          HashMap<String,String> map,
                                          String method,
                                          String pwd,
                                          String charsetName,
                                          String body)
                                   throws AuthenticationException,
                                          UnsupportedEncodingException
Computes the response to the DIGEST challenge.

Throws:
AuthenticationException
UnsupportedEncodingException


Copyright © 2004-2010 Apache MINA Project. All Rights Reserved.