com.ning.http.util
Class AuthenticatorUtils

java.lang.Object
  extended by com.ning.http.util.AuthenticatorUtils

public final class AuthenticatorUtils
extends Object


Constructor Summary
AuthenticatorUtils()
           
 
Method Summary
static String computeBasicAuthentication(ProxyServer proxyServer)
           
static String computeBasicAuthentication(Realm realm)
           
static String computeDigestAuthentication(Realm realm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorUtils

public AuthenticatorUtils()
Method Detail

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.