de.smartics.ci.comm
Class ProxyCredentials

Package class diagram package ProxyCredentials
java.lang.Object
  extended by de.smartics.ci.comm.Credentials
      extended by de.smartics.ci.comm.ProxyCredentials

public class ProxyCredentials
     
     
extends Credentials

The credentials needed to authenticate against the proxy to get access to the network.


Constructor Summary
ProxyCredentials(String userName, String password, String clientName, String domain)
          Constructor.
 
Method Summary
 String getClientName()
          Returns the name of the client that uses the proxy, aka the host name of the computer from that you want to make the connection.
 String getDomain()
          Returns the domain (windows NT-Domain) the user belongs.
 
Methods inherited from class de.smartics.ci.comm.Credentials
getPassword, getUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyCredentials

public ProxyCredentials(String userName,
                        String password,
                        String clientName,
                        String domain)
Constructor.

Parameters:
userName - the name of the user to use to get access.
password - the password for the user.
clientName - the name of the client that uses the proxy, aka the host name of the computer from that you want to make the connection.
domain - the domain (windows NT-Domain) the user belongs.
See Also:
Credentials.Credentials(java.lang.String, java.lang.String)
Method Detail

getClientName

public String getClientName()
Returns the name of the client that uses the proxy, aka the host name of the computer from that you want to make the connection.

Returns:
the name of the client that uses the proxy, aka the host name of the computer from that you want to make the connection.

getDomain

public String getDomain()
Returns the domain (windows NT-Domain) the user belongs. Used to connect to a host using the proxy.

Returns:
the domain (windows NT-Domain) the user belongs.


Copyright © 2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.