Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.securityconfig.masterpassword
Class MasterPasswordPanel.ChangeMasterPasswordCallback

java.lang.Object
  extended by net.java.sip.communicator.plugin.securityconfig.masterpassword.MasterPasswordPanel.ChangeMasterPasswordCallback
All Implemented Interfaces:
MasterPasswordChangeDialog.MasterPasswordExecutable
Enclosing class:
MasterPasswordPanel

 class MasterPasswordPanel.ChangeMasterPasswordCallback
extends Object
implements MasterPasswordChangeDialog.MasterPasswordExecutable

A callback implementation that changes or removes the master password. When the new password is null, the master password is removed.


Constructor Summary
MasterPasswordPanel.ChangeMasterPasswordCallback()
           
 
Method Summary
 boolean execute(String masterPassword, String newMasterPassword)
          The actions to execute to change the master password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterPasswordPanel.ChangeMasterPasswordCallback

MasterPasswordPanel.ChangeMasterPasswordCallback()
Method Detail

execute

public boolean execute(String masterPassword,
                       String newMasterPassword)
Description copied from interface: MasterPasswordChangeDialog.MasterPasswordExecutable
The actions to execute to change the master password.

Specified by:
execute in interface MasterPasswordChangeDialog.MasterPasswordExecutable
Parameters:
masterPassword - old master password
newMasterPassword - new master password
Returns:
true on success, false on failure.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.