Package com.ning.http.util
Class AuthenticatorUtils
java.lang.Object
com.ning.http.util.AuthenticatorUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcomputeBasicAuthentication(ProxyServer proxyServer) static StringcomputeBasicAuthentication(Realm realm) static StringcomputeDigestAuthentication(Realm realm) static StringcomputeRealmURI(Realm realm) static StringcomputeRealmURI(Uri uri, boolean useAbsoluteURI, boolean omitQuery) static StringgetHttpHeaderForAuthScheme(List<String> authenticationHeaders, String authScheme) static StringperConnectionAuthorizationHeader(Request request, Uri uri, ProxyServer proxyServer, Realm realm) static StringperConnectionProxyAuthorizationHeader(Request request, ProxyServer proxyServer, boolean connect) static StringperRequestAuthorizationHeader(Request request, Uri uri, Realm realm) static StringperRequestProxyAuthorizationHeader(Request request, Realm realm, ProxyServer proxyServer, boolean connect)
-
Constructor Details
-
AuthenticatorUtils
public AuthenticatorUtils()
-
-
Method Details
-
perConnectionAuthorizationHeader
public static String perConnectionAuthorizationHeader(Request request, Uri uri, ProxyServer proxyServer, Realm realm) throws IOException - Throws:
IOException
-
perRequestAuthorizationHeader
-
perConnectionProxyAuthorizationHeader
public static String perConnectionProxyAuthorizationHeader(Request request, ProxyServer proxyServer, boolean connect) throws IOException - Throws:
IOException
-
perRequestProxyAuthorizationHeader
public static String perRequestProxyAuthorizationHeader(Request request, Realm realm, ProxyServer proxyServer, boolean connect) -
computeBasicAuthentication
-
computeBasicAuthentication
-
computeRealmURI
-
computeRealmURI
-
computeDigestAuthentication
-
getHttpHeaderForAuthScheme
-