com.teamdev.xpcom
Class ProxyServerAuthInfo

java.lang.Object
  extended by com.teamdev.xpcom.ProxyServerAuthInfo

public class ProxyServerAuthInfo
extends java.lang.Object

Contains information about user name and password which is required for proxy server authentication.


Constructor Summary
ProxyServerAuthInfo(java.lang.String userName, java.lang.String password)
          Constructs a new ProxyServerAuthInfo instance according to the specified userName and password.
 
Method Summary
 java.lang.String getPassword()
          Returns a string that represents an authentication password value.
 java.lang.String getUserName()
          Returns a string that represents an authentication user name value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyServerAuthInfo

public ProxyServerAuthInfo(java.lang.String userName,
                           java.lang.String password)
Constructs a new ProxyServerAuthInfo instance according to the specified userName and password.

Parameters:
userName - The authentication user name value.
password - The authentication password value.
Throws:
java.lang.IllegalArgumentException - when userName or password parameter is null.
Method Detail

getUserName

public java.lang.String getUserName()
Returns a string that represents an authentication user name value.

Returns:
a string that represents a authentication user name value.

getPassword

public java.lang.String getPassword()
Returns a string that represents an authentication password value.

Returns:
a string that represents an authentication password value.