org.hardtokenmgmt.initsuperadmin.ui
Class InsertCardController
java.lang.Object
org.hardtokenmgmt.core.ui.BaseController
org.hardtokenmgmt.initsuperadmin.ui.InsertCardController
- All Implemented Interfaces:
- java.util.Observer, IController
public class InsertCardController
- extends BaseController
- implements java.util.Observer
Controller used for to prompt card insertion of super administrator
card.
Controller Memory Settings:
- ADMINCARDSTATUS the status variable of the admin card
- Version:
- $Id$
- Author:
- Philip Vendil
|
Method Summary |
void |
getControl(java.lang.String callingController)
Method called by the Main applet when it's time for this
controller to take control |
boolean |
isAuthorizedToController(java.security.cert.X509Certificate admin)
Method called by the main applet to check that
the administrator is authorized to this controller |
void |
update(java.util.Observable caller,
java.lang.Object object)
|
| Methods inherited from class org.hardtokenmgmt.core.ui.BaseController |
debug, debug, error, error, getAdministratorSettings, getControllerMemory, getControllerSetting, getControllerSetting, getGlobalSettings, getHTMFAdminInterface, getProcessableToken, getTokenManager, getView, getWSRAInterface, info, info, isAdmin, isNonAdmin, switchControlTo, switchToFreshController |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertCardController
public InsertCardController()
getControl
public void getControl(java.lang.String callingController)
- Method called by the Main applet when it's time for this
controller to take control
- Specified by:
getControl in interface IController
- Parameters:
callingController - class path to the controller calling this controller or null
if this was the main controller.- See Also:
IController.getControl(String)
isAuthorizedToController
public boolean isAuthorizedToController(java.security.cert.X509Certificate admin)
- Method called by the main applet to check that
the administrator is authorized to this controller
- Specified by:
isAuthorizedToController in interface IController
- Parameters:
admin - the certificate of the loggen in administrator.
- Returns:
- true if the administrator is authorized to this controller
- See Also:
IController.isAuthorizedToController(X509Certificate)
update
public void update(java.util.Observable caller,
java.lang.Object object)
- Specified by:
update in interface java.util.Observer