public final class AuthenticatorUtils extends Object
Constructor and Description |
---|
AuthenticatorUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
computeBasicAuthentication(ProxyServer proxyServer) |
static String |
computeBasicAuthentication(Realm realm) |
static String |
computeDigestAuthentication(Realm realm) |
static String |
computeRealmURI(Realm realm) |
static String |
computeRealmURI(Uri uri,
boolean useAbsoluteURI,
boolean omitQuery) |
static String |
perConnectionAuthorizationHeader(Request request,
Uri uri,
ProxyServer proxyServer,
Realm realm) |
static String |
perConnectionProxyAuthorizationHeader(Request request,
ProxyServer proxyServer,
boolean connect) |
static String |
perRequestAuthorizationHeader(Request request,
Uri uri,
Realm realm) |
static String |
perRequestProxyAuthorizationHeader(Request request,
Realm realm,
ProxyServer proxyServer,
boolean connect) |
public static String perConnectionAuthorizationHeader(Request request, Uri uri, ProxyServer proxyServer, Realm realm) throws IOException
IOException
public static String perRequestAuthorizationHeader(Request request, Uri uri, Realm realm)
public static String perConnectionProxyAuthorizationHeader(Request request, ProxyServer proxyServer, boolean connect) throws IOException
IOException
public static String perRequestProxyAuthorizationHeader(Request request, Realm realm, ProxyServer proxyServer, boolean connect)
public static String computeBasicAuthentication(ProxyServer proxyServer)
public static String computeRealmURI(Uri uri, boolean useAbsoluteURI, boolean omitQuery)
Copyright © 2016. All Rights Reserved.