de.smartics.ci.comm
Class ProxyCredentials
java.lang.Object
de.smartics.ci.comm.Credentials
de.smartics.ci.comm.ProxyCredentials
-
public class ProxyCredentials
-
extends
Credentials
The credentials needed to authenticate against the proxy to get access to the network.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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.