Package org.ejbca.core.model.approval.approvalrequests

Examples of org.ejbca.core.model.approval.approvalrequests.ActivateCATokenApprovalRequest


            String msg = intres.getLocalizedMessage("caadmin.catokenexternal", Integer.valueOf(caid));
            log.info(msg);
            return;
        }
        int numOfApprovalsRequired = getNumOfApprovalRequired(admin, CAInfo.REQ_APPROVAL_ACTIVATECATOKEN, cainfo.getCAId(), cainfo.getCertificateProfileId());
        ActivateCATokenApprovalRequest ar = new ActivateCATokenApprovalRequest(cainfo.getName(), authorizationcode, admin, numOfApprovalsRequired, caid,
                ApprovalDataVO.ANY_ENDENTITYPROFILE);
        if (ApprovalExecutorUtil.requireApproval(ar, NONAPPROVABLECLASSNAMES_ACTIVATECATOKEN)) {
            approvalSession.addApprovalRequest(admin, ar, gc);
            String msg = intres.getLocalizedMessage("ra.approvalcaactivation");
            throw new WaitingForApprovalException(msg);
View Full Code Here

TOP

Related Classes of org.ejbca.core.model.approval.approvalrequests.ActivateCATokenApprovalRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.