org.hardtokenmgmt.core.ui
Interface IController
- All Known Implementing Classes:
- ActivateCardController, AdminCardRemovedController, AdminConfigController, AdminMainController, AutoLogonController, BaseController, BlockCardController, BlockCardResponseController, CardAnalyserController, CardPersonalizedExternallyController, CardStatusRevokedController, CreateCardController, CreateCardDoneController, CreatingCardController, DummyController1, DummyController2, ErrorController, ErrorLoadingAppletController, InitSuperAdminController, InsertCardController, InvestigateCardController, LogonController, MailSignerActionResultController, MailSignerManageExistingController, MailSignerMenuController, MailSignerRegister1Controller, MailSignerRegister2Controller, NormalCardController, NotAdminMenuController, NotAdminPUKStep1Controller, NotAdminTemporaryCardStep4Controller, NotAuthorizedController, OtherActionsController, PINLockedController, PINUnlockedController, RenewCertController, RenewCertDoneController, SetCardTypeController, SuperAdminCardDoneController, TemplateController, WaitForApprovalController, WCActionController, WCActivateResponseController, WCRevokeResponseController, ViewCertController, WithoutCardController
public interface IController
Interface that should be implemented by all the controller objects
Contains the essetial methods used by the framework to pass
control to and from the implementing controller.
- Version:
- $Id$
- Author:
- Philip Vendil 2007 feb 15
|
Method Summary |
void |
getControl(java.lang.String callingController)
Method called by the main hard token applet when
it gives the control of the application |
BaseView |
getView()
Method called by the main applet when it add
the view to the main panel. |
boolean |
isAuthorizedToController(java.security.cert.X509Certificate admin)
Method that should return true if the logged in administrator
is authorized to use this controller |
isAuthorizedToController
boolean isAuthorizedToController(java.security.cert.X509Certificate admin)
- Method that should return true if the logged in administrator
is authorized to use this controller
- Parameters:
admin - the certificate of the loggen in administrator.
- Returns:
- true if the administrator is authorized to this controller
getControl
void getControl(java.lang.String callingController)
- Method called by the main hard token applet when
it gives the control of the application
- Parameters:
callingController - class path to the controller calling this controller or null
if this was the main controller.
getView
BaseView getView()
- Method called by the main applet when it add
the view to the main panel.