org.eclipse.rse.core.model
Class SystemSignonInformation
java.lang.Object
org.eclipse.rse.core.model.SystemSignonInformation
-
All Implemented Interfaces:
-
ICredentials
-
public final class SystemSignonInformation
- extends
Object
- implements
ICredentials
This class encapsulates the signon information required for a remote system. This class
must be secure and never disclose the password for the remote system in its unencrypted form.
However the encrypted form of the password is not considered secret information and can be
accessed by anyone.
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
SystemSignonInformation
public SystemSignonInformation()
- Default no-arg constructor
SystemSignonInformation
public SystemSignonInformation(
String hostname,
String userid,
IRSESystemType systemType)
- Constructor for SystemSignonInformation.
SystemSignonInformation
public SystemSignonInformation(
String hostname,
String userid,
String password,
IRSESystemType systemType)
- Constructor for SystemSignonInformation.
getHostname
public
String getHostname()
- Returns the hostname of the remote system
-
-
-
Returns:
- String
getSystemType
public
IRSESystemType getSystemType()
- Returns the systemType of the remote system.
-
-
-
Returns:
- the systemType object.
getUserId
public
String getUserId()
- Returns the userid for the remote system
-
-
Specified by:
-
getUserId
in interface
ICredentials
-
-
Returns:
- the user ID.
getPassword
public
String getPassword()
- Return the password for the remote system
-
-
Specified by:
-
getPassword
in interface
ICredentials
-
setPassword
public void setPassword(
String string)
- Sets the password for the remote system
-
-
setHostname
public void setHostname(
String hostname)
- Sets the hostname.
-
-
-
Parameters:
-
hostname
- The hostname to set
setSystemType
public void setSystemType(
IRSESystemType systemType)
- Sets the systemType.
-
-
-
Parameters:
-
systemType
- The systemType to set
setUserId
public void setUserId(
String userId)
- Sets the userid.
-
-
-
Parameters:
-
userId
- The userid to set
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.