org.hardtokenmgmt.core.util
Class PINChecker
java.lang.Object
org.hardtokenmgmt.core.util.PINChecker
public class PINChecker
- extends java.lang.Object
Help method used to check a PIN value and to set the
appropriate output to two labels
- Version:
- $Id$
- Author:
- Philip Vendil 2007 maj 30
|
Method Summary |
static java.lang.String |
getPin(javax.swing.JPasswordField pinField,
javax.swing.JPasswordField verifyPinField,
java.lang.String pintype,
javax.swing.JLabel pinEnterErrorLabel,
javax.swing.JLabel pinRulesInfo,
javax.swing.JComponent view)
Method that returns the PIN entered in the password fields and updates the error and info labels
with information about what's wrong |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PINChecker
public PINChecker()
getPin
public static java.lang.String getPin(javax.swing.JPasswordField pinField,
javax.swing.JPasswordField verifyPinField,
java.lang.String pintype,
javax.swing.JLabel pinEnterErrorLabel,
javax.swing.JLabel pinRulesInfo,
javax.swing.JComponent view)
- Method that returns the PIN entered in the password fields and updates the error and info labels
with information about what's wrong
- Parameters:
pinField - verifyPinField - pintype - on the IToken or null if no info about which pin should be displayedpinEnterErrorLabel - pinRulesInfo - view - of the componenet to update
- Returns:
- the entered PIN