com.aetrion.flickr
Class ProxyAuthenticator

java.lang.Object
  extended by java.net.Authenticator
      extended by com.aetrion.flickr.ProxyAuthenticator

public class ProxyAuthenticator
extends java.net.Authenticator

Used to set the credentials for proxy-authentication in REST.setProxy(String, int, String, String).

Version:
$Id: ProxyAuthenticator.java,v 1.1 2007/11/25 00:26:51 x-mago Exp $
Author:
mago

Nested Class Summary
 
Nested classes/interfaces inherited from class java.net.Authenticator
java.net.Authenticator.RequestorType
 
Constructor Summary
ProxyAuthenticator(java.lang.String userName, java.lang.String passWord)
           
 
Method Summary
protected  java.net.PasswordAuthentication getPasswordAuthentication()
           
 
Methods inherited from class java.net.Authenticator
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyAuthenticator

public ProxyAuthenticator(java.lang.String userName,
                          java.lang.String passWord)
Method Detail

getPasswordAuthentication

protected java.net.PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class java.net.Authenticator


Copyright (C) 2005-2008 Aetrion LLC. All Rights Reserved.