Remote Systems
v6.4.1

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

All Known Implementing Classes:
SystemPasswordPromptDialog

public interface ISystemPasswordPromptDialog

Suggested interface for a dialog used to prompt user for a password.


Field Summary
static String copyright
           
 
Method Summary
 boolean getForceToUpperCase()
          Call this to query the force-to-uppercase setting
 boolean getIsSavePassword()
          Return true if the user elected to save the password
 boolean getIsUserIdChanged()
          Return true if the user changed the user id
 boolean getIsUserIdChangePermanent()
          Return true if the user elected to make the changed user Id a permanent change.
 String getPassword()
          Return the password entered by user
 Shell getShell()
          Return the shell for this dialog
 String getUserId()
          Return the userId entered by user
 int open()
          Open the dialog
 void setBlockOnOpen(boolean block)
          Set modal vs modeless
 void setForceToUpperCase(boolean force)
          Call this to force the userId and password to uppercase
 void setPassword(String password)
          Sets the password
 void setPasswordValidator(ISystemValidator v)
          Call this to specify a validator for the password.
 void setSavePassword(boolean save)
          Preselect the save password checkbox.
 void setSignonValidator(ISignonValidator v)
          Call this to specify a validator for the signon.
 void setSystemInput(ISystem systemObject)
          Set the input System object in which the user is attempting to do a connect action.
 void setUserIdValidator(ISystemValidator v)
          Call this to specify a validator for the userId.
 boolean wasCancelled()
          Allow caller to determine if window was cancelled or not.
 

Field Detail

copyright

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

setBlockOnOpen

public void setBlockOnOpen(boolean block)
Set modal vs modeless


open

public int open()
Open the dialog


setSystemInput

public void setSystemInput(ISystem systemObject)
Set the input System object in which the user is attempting to do a connect action. This is used to query the system type, host name and userId to display to the user for contextual information.

This must be called right after instantiating this dialog.


wasCancelled

public boolean wasCancelled()
Allow caller to determine if window was cancelled or not.


setUserIdValidator

public void setUserIdValidator(ISystemValidator v)
Call this to specify a validator for the userId. It will be called per keystroke.


setPasswordValidator

public void setPasswordValidator(ISystemValidator v)
Call this to specify a validator for the password. It will be called per keystroke.


setSignonValidator

public void setSignonValidator(ISignonValidator v)
Call this to specify a validator for the signon. It will be called when the OK button is pressed.


setForceToUpperCase

public void setForceToUpperCase(boolean force)
Call this to force the userId and password to uppercase


getForceToUpperCase

public boolean getForceToUpperCase()
Call this to query the force-to-uppercase setting


getUserId

public String getUserId()
Return the userId entered by user


getPassword

public String getPassword()
Return the password entered by user


setPassword

public void setPassword(String password)
Sets the password


setSavePassword

public void setSavePassword(boolean save)
Preselect the save password checkbox. Default value is to not select the save password checkbox.


getIsUserIdChanged

public boolean getIsUserIdChanged()
Return true if the user changed the user id


getIsUserIdChangePermanent

public boolean getIsUserIdChangePermanent()
Return true if the user elected to make the changed user Id a permanent change.


getIsSavePassword

public boolean getIsSavePassword()
Return true if the user elected to save the password


getShell

public Shell getShell()
Return the shell for this dialog


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.