iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.core.util
Class PasswordMigrationHelper

java.lang.Object
  extended bycom.ibm.etools.iseries.core.util.PasswordMigrationHelper

public class PasswordMigrationHelper
extends Object

PasswordMigrationHelper is a helper class for migrating saved passwords from WDSc 5.0 to WDSc 5.1 and higher. In WDSc 5.0 we stored the passwords in a separate file called passwords.xml. As part of moving the RSE framework to Artemis we also changed this so passwords are stored in the Eclipse keyring file.


Field Summary
static String copyright
           
static String HOSTNAME
           
static String PASSWORD
           
static String ROOT
           
static String SYSTEM
           
static String SYSTEMTYPE
           
static String USERID
           
static String VERSION
           
 
Method Summary
static PasswordMigrationHelper getInstance()
          Get the singleton instance for this class.
 boolean isMigrationRequired()
          Check if the password file still needs to be migrated
 void migrate()
          Migrate saved password from 5.0 format (separate passwords.xml file) to 5.1 format (Eclipse keyring)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

ROOT

public static final String ROOT
See Also:
Constant Field Values

SYSTEM

public static final String SYSTEM
See Also:
Constant Field Values

HOSTNAME

public static final String HOSTNAME
See Also:
Constant Field Values

SYSTEMTYPE

public static final String SYSTEMTYPE
See Also:
Constant Field Values

USERID

public static final String USERID
See Also:
Constant Field Values

PASSWORD

public static final String PASSWORD
See Also:
Constant Field Values

VERSION

public static final String VERSION
See Also:
Constant Field Values
Method Detail

getInstance

public static PasswordMigrationHelper getInstance()
Get the singleton instance for this class.


isMigrationRequired

public boolean isMigrationRequired()
Check if the password file still needs to be migrated


migrate

public void migrate()
Migrate saved password from 5.0 format (separate passwords.xml file) to 5.1 format (Eclipse keyring)


iSeries Remote Systems
v6.0.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.