public class DigestUtilities extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SESSION_HA1 |
static String[] |
SUPPORTED_QOPS
The supported qualities of protections.
|
Constructor and Description |
---|
DigestUtilities() |
public static final String SESSION_HA1
public static final String[] SUPPORTED_QOPS
public static String computeResponseValue(IoSession session, HashMap<String,String> map, String method, String pwd, String charsetName, String body) throws AuthenticationException, UnsupportedEncodingException
session
- the current sessionmap
- the map holding the directives sent by the proxymethod
- the HTTP verbpwd
- the passwordcharsetName
- the name of the charset used for the challengebody
- the html body to be hashed for integrity calculationsAuthenticationException
UnsupportedEncodingException
Copyright © 2004–2014 Apache MINA Project. All rights reserved.