|Modifier and Type||Field and Description|
The Session digest attribute name
The supported qualities of protections.
|Modifier and Type||Method and Description|
Computes the response to the DIGEST challenge.
public static final String SESSION_HA1
public static final String SUPPORTED_QOPS
public static String computeResponseValue(IoSession session, Map<String,String> map, String method, String pwd, String charsetName, String body) throws AuthenticationException, UnsupportedEncodingException
session- the current session
map- the map holding the directives sent by the proxy
method- the HTTP verb
pwd- the password
charsetName- the name of the charset used for the challenge
body- the html body to be hashed for integrity calculations
AuthenticationException- if we weren't able to find a directive value in the map
UnsupportedEncodingException- If we weren't able to encode to ISO 8859_1 the username or realm, or if we weren't able to encode the charsetName
Copyright © 2004–2018 Apache MINA Project. All rights reserved.