com.ning.http.util
Class AuthenticatorUtils

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

public final class AuthenticatorUtils
extends java.lang.Object


Constructor Summary
AuthenticatorUtils()
           
 
Method Summary
static java.lang.String computeBasicAuthentication(ProxyServer proxyServer)
           
static java.lang.String computeBasicAuthentication(Realm realm)
           
static java.lang.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 java.lang.String computeBasicAuthentication(Realm realm)
                                                   throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

computeBasicAuthentication

public static java.lang.String computeBasicAuthentication(ProxyServer proxyServer)
                                                   throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

computeDigestAuthentication

public static java.lang.String computeDigestAuthentication(Realm realm)
                                                    throws java.security.NoSuchAlgorithmException,
                                                           java.io.UnsupportedEncodingException
Throws:
java.security.NoSuchAlgorithmException
java.io.UnsupportedEncodingException


Copyright © 2011. All Rights Reserved.