org.hardtokenmgmt.ui
Class NotAuthorizedController
java.lang.Object
org.hardtokenmgmt.core.ui.BaseController
org.hardtokenmgmt.ui.NotAuthorizedController
- All Implemented Interfaces:
- IController
public class NotAuthorizedController
- extends BaseController
Controller displayed when an administrator is trying to access
a controller it doesn't have priviledges to
Controller Memory Settings:
- NOTAUTH_SHOWBACKBUTTON : True if not set
- NOTAUTH_MESSAGE : Message displayed for the user.
- Version:
- $Id$
- Author:
- Philip Vendil 2007 feb 16
|
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)
Method that should return true if the logged in administrator
is authorized to use this controller |
| 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 |
CM_SHOWBACKBUTTON
public static final java.lang.String CM_SHOWBACKBUTTON
- See Also:
- Constant Field Values
CM_MESSAGE
public static final java.lang.String CM_MESSAGE
- See Also:
- Constant Field Values
NotAuthorizedController
public NotAuthorizedController()
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.
isAuthorizedToController
public boolean isAuthorizedToController(java.security.cert.X509Certificate admin)
- Description copied from interface:
IController
- 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