|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hardtokenmgmt.core.ui.BaseController
org.hardtokenmgmt.ui.ErrorController
public class ErrorController
Controller used to diplay and error and the possibility to mail the error the designated administrator
Controller Memory Settings:
See separate CC constants.
| Field Summary | |
|---|---|
static java.lang.String |
CCBACKCONTROLLER
Property defining the controller (string) that should be switched to when the back button is pressed, if property isn't set is the callingController used. |
static java.lang.String |
CCERROREXCEPTION
Property defining the exception to report, this is a required setting for the controller to function properly. |
static java.lang.String |
CCERRORMSG
Property defining the error message that should be used, must be a String, if not defined will the simple name of the exception be used. |
| Fields inherited from class org.hardtokenmgmt.core.ui.BaseController |
|---|
view |
| Constructor Summary | |
|---|---|
ErrorController()
|
|
ErrorController(BaseView alternateErrorView,
boolean closeOnBack)
Alternative constructor. |
|
| 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 |
| 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 |
| Field Detail |
|---|
public static final java.lang.String CCERRORMSG
public static final java.lang.String CCERROREXCEPTION
public static final java.lang.String CCBACKCONTROLLER
| Constructor Detail |
|---|
public ErrorController()
public ErrorController(BaseView alternateErrorView,
boolean closeOnBack)
alternateErrorView - must implement the IErrorView interface.closeOnBack - if the current view should be closed or not| Method Detail |
|---|
public void getControl(java.lang.String callingController)
callingController - class path to the controller calling this controller or null
if this was the main controller.IController.getControl(String)public boolean isAuthorizedToController(java.security.cert.X509Certificate admin)
admin - the certificate of the loggen in administrator.
IController.isAuthorizedToController(X509Certificate)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||