com.ning.http.util
Class AuthenticatorUtils
java.lang.Object
com.ning.http.util.AuthenticatorUtils
public final class AuthenticatorUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticatorUtils
public AuthenticatorUtils()
computeBasicAuthentication
public static String computeBasicAuthentication(Realm realm)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
computeBasicAuthentication
public static String computeBasicAuthentication(ProxyServer proxyServer)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
computeDigestAuthentication
public static String computeDigestAuthentication(Realm realm)
throws NoSuchAlgorithmException,
UnsupportedEncodingException
- Throws:
NoSuchAlgorithmException
UnsupportedEncodingException
Copyright © 2011. All Rights Reserved.