Home | History | Annotate | Download | only in clientauthutils

Lines Matching defs:authorization

190             // Remove all authorization headers from the request (we'll re-add them
229 AuthorizationHeader authorization = null;
236 authorization = this.getAuthorization(reoriginatedRequest
250 authorization = this.getAuthorization(reoriginatedRequest
257 "Created authorization header: " + authorization.toString());
261 authorization, cacheTime);
263 reoriginatedRequest.addHeader(authorization);
268 "Returning authorization transaction." + retryTran);
312 AuthorizationHeader authorization = null;
315 authorization = headerFactory.createProxyAuthorizationHeader(authHeader
318 authorization = headerFactory.createAuthorizationHeader(authHeader.getScheme());
321 authorization.setUsername(userCredentials.getUserName());
322 authorization.setRealm(authHeader.getRealm());
323 authorization.setNonce(authHeader.getNonce());
324 authorization.setParameter("uri", uri);
325 authorization.setResponse(response);
327 authorization.setAlgorithm(authHeader.getAlgorithm());
331 authorization.setOpaque(authHeader.getOpaque());
336 authorization.setQop(qop);
337 authorization.setCNonce(cnonce);
338 authorization.setNonceCount(Integer.parseInt(nc_value));
341 authorization.setResponse(response);
344 throw new RuntimeException("Failed to create an authorization header!");
347 return authorization;
378 AuthorizationHeader authorization = null;
381 authorization = headerFactory.createProxyAuthorizationHeader(authHeader
384 authorization
387 authorization.setUsername(userCredentials.getUserName());
388 authorization.setRealm(authHeader.getRealm());
389 authorization.setNonce(authHeader.getNonce());
390 authorization.setParameter("uri", uri);
391 authorization.setResponse(response);
393 authorization.setAlgorithm(authHeader.getAlgorithm());
397 authorization.setOpaque(authHeader.getOpaque());
402 authorization.setQop(qop);
403 authorization.setCNonce(cnonce);
404 authorization.setNonceCount(Integer.parseInt(nc_value));
407 authorization.setResponse(response);
410 throw new RuntimeException("Failed to create an authorization header!");
413 return authorization;