Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

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.0

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire