org.hardtokenmgmt.admin.ui
Class AdminMainController

java.lang.Object
  extended by org.hardtokenmgmt.core.ui.BaseController
      extended by org.hardtokenmgmt.admin.ui.AdminMainController
All Implemented Interfaces:
IController

public class AdminMainController
extends BaseController

Version:
$Id$
Author:
Philip Vendil 17 maj 2009

Field Summary
 
Fields inherited from class org.hardtokenmgmt.core.ui.BaseController
view
 
Constructor Summary
AdminMainController()
           
 
Method Summary
 void getControl(java.lang.String callingController)
          Method called by the main hard token applet when it gives the control of the application
 boolean isAuthorizedToController(java.security.cert.X509Certificate admin)
          Must be administrator.
 
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
 

Constructor Detail

AdminMainController

public AdminMainController()
Method Detail

getControl

public void getControl(java.lang.String callingController)
Description copied from interface: IController
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.
See Also:
IController.getControl(java.lang.String)

isAuthorizedToController

public boolean isAuthorizedToController(java.security.cert.X509Certificate admin)
Must be administrator.

Parameters:
admin - the certificate of the loggen in administrator.
Returns:
true if the administrator is authorized to this controller
See Also:
IController.isAuthorizedToController(java.security.cert.X509Certificate)