diff options
author | Damian Minkov <damencho@jitsi.org> | 2013-05-16 16:37:07 +0300 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2013-05-16 16:37:07 +0300 |
commit | 88418783091d8c334f57f9c8b1ea4866eb7d42f9 (patch) | |
tree | 611a309d3d60e3eea5033a03a35992e601cc96ea /src/net/java/sip/communicator/service/credentialsstorage | |
parent | 311d7512c909466e9c662481a5af7198717d8a8c (diff) | |
download | jitsi-88418783091d8c334f57f9c8b1ea4866eb7d42f9.zip jitsi-88418783091d8c334f57f9c8b1ea4866eb7d42f9.tar.gz jitsi-88418783091d8c334f57f9c8b1ea4866eb7d42f9.tar.bz2 |
Adds master password input service used to show input dialog to enter master password.
Diffstat (limited to 'src/net/java/sip/communicator/service/credentialsstorage')
-rw-r--r-- | src/net/java/sip/communicator/service/credentialsstorage/MasterPasswordInputService.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/credentialsstorage/MasterPasswordInputService.java b/src/net/java/sip/communicator/service/credentialsstorage/MasterPasswordInputService.java new file mode 100644 index 0000000..d67c500 --- /dev/null +++ b/src/net/java/sip/communicator/service/credentialsstorage/MasterPasswordInputService.java @@ -0,0 +1,25 @@ +/* + * Jitsi, the OpenSource Java VoIP and Instant Messaging client. + * + * Distributable under LGPL license. See terms of license at gnu.org. + */ +package net.java.sip.communicator.service.credentialsstorage; + +/** + * Master password input dialog. + * + * @author Damian Minkov + */ +public interface MasterPasswordInputService +{ + /** + * Shows an input dialog to the user to obtain the master password. + * + * @param prevSuccess <tt>true</tt> if any previous call returned a correct + * master password and there is no need to show an extra "verification + * failed" message + * @return the master password obtained from the user or <tt>null</tt> if + * none was provided + */ + public String showInputDialog(boolean prevSuccess); +} |