Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.dialogs
Interface ISignonValidator


public interface ISignonValidator

Interace for providing a signon validator to the password prompt dialog.


Field Summary
static String copyright
           
 
Method Summary
 SystemMessage isValid(ISystemPasswordPromptDialog dialog, String userid, String password)
          Used by ISystemPasswordPromptDialog to verify if the password entered by the user is correct.
 boolean isValid(Shell shell, SystemSignonInformation signonInfo)
          Verify if persisted userid and password are still valid
 

Field Detail

copyright

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

isValid

public SystemMessage isValid(ISystemPasswordPromptDialog dialog,
                             String userid,
                             String password)
Used by ISystemPasswordPromptDialog to verify if the password entered by the user is correct.

Returns:
null if the password is valid, otherwise a SystemMessage is returned that can be displayed to the end user.

isValid

public boolean isValid(Shell shell,
                       SystemSignonInformation signonInfo)
Verify if persisted userid and password are still valid

Returns:
true if signonInfo contains a valid signon, false otherwise.

Remote Systems
v6.4.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.