Home
last modified time | relevance | path

Searched refs:userName (Results 1 – 2 of 2) sorted by relevance

/unit/src/java/nginx/unit/websocket/
H A DDigestAuthenticator.java41 String userName = (String) userProperties.get(Constants.WS_AUTHENTICATION_USER_NAME); in getAuthorization() local
44 if (userName == null || password == null) { in getAuthorization()
70 challenge.append("username =\"" + userName + "\","); in getAuthorization()
76 challenge.append("response=\"" + calculateRequestDigest(requestUri, userName, password, in getAuthorization()
98 private String calculateRequestDigest(String requestUri, String userName, String password, in calculateRequestDigest() argument
106 A1 = userName + ":" + realm + ":" + password; in calculateRequestDigest()
109 A1 = encodeMD5(userName + ":" + realm + ":" + password) + ":" + nonce + ":" + cNonce; in calculateRequestDigest()
H A DBasicAuthenticator.java36 String userName = (String) userProperties.get(Constants.WS_AUTHENTICATION_USER_NAME); in getAuthorization() local
39 if (userName == null || password == null) { in getAuthorization()
46 String userPass = userName + ":" + password; in getAuthorization()