RSE
Release 3.3

org.eclipse.rse.core.model
Class SystemSignonInformation

java.lang.Object
  extended by 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.


Constructor Summary
SystemSignonInformation()
          Default no-arg constructor
SystemSignonInformation(String hostname, String userid, IRSESystemType systemType)
          Constructor for SystemSignonInformation.
SystemSignonInformation(String hostname, String userid, String password, IRSESystemType systemType)
          Constructor for SystemSignonInformation.
 
Method Summary
 String getHostname()
          Returns the hostname of the remote system
 String getPassword()
          Return the password for the remote system
 IRSESystemType getSystemType()
          Returns the systemType of the remote system.
 String getUserId()
          Returns the userid for the remote system
 void setHostname(String hostname)
          Sets the hostname.
 void setPassword(String string)
          Sets the password for the remote system
 void setSystemType(IRSESystemType systemType)
          Sets the systemType.
 void setUserId(String userId)
          Sets the userid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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

RSE
Release 3.3

Copyright (c) IBM Corporation and others 2000, 2011. All Rights Reserved.