org.hardtokenmgmt.ui.createcard
Class SetCardTypeController
java.lang.Object
org.hardtokenmgmt.core.ui.BaseController
org.hardtokenmgmt.ui.createcard.SetCardTypeController
- All Implemented Interfaces:
- IController
public class SetCardTypeController
- extends BaseController
Controller used to get input about the type of card issued.
It starts by fetching the userdata from the configured EJBCA
datasource. Then displays the information and lets the admin
override the name and to set the type of card and validty.
This controller is also used for the non-admin pages.
Controller Memory Settings:
- CCNAME : The name entered in the text field.
- CCCARDTYPE : The type of card to be issued, regular, temporary or project.
- CCVALIDTIME : The validity of the certificates to be issued.
- CCUSERDATA : The userdata of the user either fetched or compiled from default settings if the user didn't exist in the user data source.
- CCCUSTOMLOG : If custom logging of the process should be done.
- NOADMINPUKAPPROVALID : For nonamnin request is the apporval id set
- NOADMINAFTERAPPROVALCONTROLLER : sets which controller WaitForApprovalController should redirect after approval have been given.
- Version:
- $Id$
- Author:
- Magnus Brokvist
|
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 |
SetCardTypeController
public SetCardTypeController()
getControl
public void getControl(java.lang.String callingController)
- Method called by the Main applet when it's time for this
controller to take control
- 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
- Parameters:
admin - the certificate of the loggen in administrator.
- Returns:
- true if the administrator is authorized to this controller
- See Also:
IController.isAuthorizedToController(X509Certificate)