Package com.netscape.cms.servlet.cert
Class CertProcessor
- java.lang.Object
-
- com.netscape.cms.servlet.processors.Processor
-
- com.netscape.cms.servlet.processors.CAProcessor
-
- com.netscape.cms.servlet.cert.CertProcessor
-
- Direct Known Subclasses:
EnrollmentProcessor
,RenewalProcessor
,RequestProcessor
,RevocationProcessor
public class CertProcessor extends CAProcessor
-
-
Field Summary
-
Fields inherited from class com.netscape.cms.servlet.processors.CAProcessor
ACL_INFO, ACL_METHOD, aclMethod, ARG_ERROR_CODE, ARG_ERROR_REASON, ARG_OP, ARG_OUTPUT_CONSTRAINT, ARG_OUTPUT_ID, ARG_OUTPUT_LIST, ARG_OUTPUT_NAME, ARG_OUTPUT_SYNTAX, ARG_OUTPUT_VAL, ARG_PROFILE, ARG_PROFILE_APPROVED_BY, ARG_PROFILE_DESC, ARG_PROFILE_ENABLED_BY, ARG_PROFILE_IS_ENABLED, ARG_PROFILE_IS_VISIBLE, ARG_PROFILE_NAME, ARG_PROFILE_REMOTE_ADDR, ARG_PROFILE_REMOTE_HOST, ARG_PROFILE_SET_ID, ARG_RENEWAL_PROFILE_ID, ARG_REQUEST_CREATION_TIME, ARG_REQUEST_ID, ARG_REQUEST_LIST, ARG_REQUEST_MODIFICATION_TIME, ARG_REQUEST_NONCE, ARG_REQUEST_NOTES, ARG_REQUEST_OWNER, ARG_REQUEST_STATUS, ARG_REQUEST_TYPE, ARG_REQUESTS, AUTH_ID, AUTH_MGR, authMgr, authority, authz, AUTHZ_MGR, AUTHZ_RESOURCE_NAME, authzResourceName, CERT_ATTR, certdb, GET_CLIENT_CERT, getClientCert, HDR_LANG, PROFILE_ID, PROFILE_SUB_ID, profileID, profileSubId, ps, queue, statEvents, ug, ul
-
-
Constructor Summary
Constructors Constructor Description CertProcessor(java.lang.String id, java.util.Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
codeToReason(java.util.Locale locale, java.lang.String errorCode, java.lang.String errorString, RequestId requestId)
protected void
populateRequests(CertEnrollmentRequest data, boolean isRenewal, java.util.Locale locale, java.util.Date origNotAfter, java.lang.String origSubjectDN, IRequest origReq, java.lang.String profileId, IProfile profile, IProfileContext ctx, IProfileAuthenticator authenticator, IAuthToken authToken, IRequest[] reqs)
protected void
setCredentialsIntoContext(javax.servlet.http.HttpServletRequest request, AuthCredentials creds, IProfileAuthenticator authenticator, IProfileContext ctx)
protected java.lang.String
submitRequests(java.util.Locale locale, IProfile profile, IAuthToken authToken, IRequest[] reqs)
-
Methods inherited from class com.netscape.cms.servlet.processors.CAProcessor
auditGroupID, auditGroups, auditRequesterID, auditSubjectID, authenticate, authenticate, authenticate, authenticate, authenticate, authorize, authorize, authorize, endAllEvents, endTiming, getOriginalRequest, getProfileID, getProfileSubsystem, getRequest, getSSLClientCertificate, printParameterValues, saveAuthToken, startTiming, toHashtable, validateNonce
-
Methods inherited from class com.netscape.cms.servlet.processors.Processor
getParams, getUserMessage, log
-
-
-
-
Constructor Detail
-
CertProcessor
public CertProcessor(java.lang.String id, java.util.Locale locale) throws EPropertyNotFound, EBaseException
- Throws:
EPropertyNotFound
EBaseException
-
-
Method Detail
-
setCredentialsIntoContext
protected void setCredentialsIntoContext(javax.servlet.http.HttpServletRequest request, AuthCredentials creds, IProfileAuthenticator authenticator, IProfileContext ctx)
-
codeToReason
protected java.lang.String codeToReason(java.util.Locale locale, java.lang.String errorCode, java.lang.String errorString, RequestId requestId)
-
submitRequests
protected java.lang.String submitRequests(java.util.Locale locale, IProfile profile, IAuthToken authToken, IRequest[] reqs)
-
populateRequests
protected void populateRequests(CertEnrollmentRequest data, boolean isRenewal, java.util.Locale locale, java.util.Date origNotAfter, java.lang.String origSubjectDN, IRequest origReq, java.lang.String profileId, IProfile profile, IProfileContext ctx, IProfileAuthenticator authenticator, IAuthToken authToken, IRequest[] reqs) throws EBaseException
- Throws:
EBaseException
-
-