{
// Getting the shell
Shell shell = PlatformUI.getWorkbench().getDisplay().getActiveShell();
// We ask the user for the keystore password
PasswordDialog passwordDialog = new PasswordDialog( shell, Messages
.getString( "PasswordsKeyStoreManagerUtils.VerifyMasterPassword" ), //$NON-NLS-1$
Messages.getString( "PasswordsKeyStoreManagerUtils.PleaseEnterMasterPassword" ), null ); //$NON-NLS-1$
if ( passwordDialog.open() == PasswordDialog.CANCEL )
{
// The user cancelled the action
keystoreLoaded[0] = false;
return;
}
// Getting the password
String masterPassword = passwordDialog.getPassword();
// Checking the password
Exception checkPasswordException = null;
try
{