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.
- Parameters:
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 calculations
- Throws:
AuthenticationException
UnsupportedEncodingException