osdep.console
Class ConsoleProxyAuthenticationSource

java.lang.Object
  extended by osdep.console.ConsoleProxyAuthenticationSource
All Implemented Interfaces:
IProxyAuthenticationSource

public class ConsoleProxyAuthenticationSource
extends java.lang.Object
implements IProxyAuthenticationSource

Requests the proxy authentication parameters to the user through the console

Author:
SHZ Mar 10, 2008

Constructor Summary
ConsoleProxyAuthenticationSource()
           
 
Method Summary
 java.lang.String getProxyPassword()
          The password to authenticate to the proxy
 java.lang.String getProxyUserId()
          The user id to authenticate to the proxy
 boolean needsProxyAuthentication()
          Do the proxy need authentication?
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleProxyAuthenticationSource

public ConsoleProxyAuthenticationSource()
Method Detail

getProxyPassword

public java.lang.String getProxyPassword()
Description copied from interface: IProxyAuthenticationSource
The password to authenticate to the proxy

Specified by:
getProxyPassword in interface IProxyAuthenticationSource
Returns:
the password

getProxyUserId

public java.lang.String getProxyUserId()
Description copied from interface: IProxyAuthenticationSource
The user id to authenticate to the proxy

Specified by:
getProxyUserId in interface IProxyAuthenticationSource
Returns:
the user id

needsProxyAuthentication

public boolean needsProxyAuthentication()
Description copied from interface: IProxyAuthenticationSource
Do the proxy need authentication?

Specified by:
needsProxyAuthentication in interface IProxyAuthenticationSource
Returns:
true if the proxy needs authentication