summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cmscore/request
diff options
context:
space:
mode:
authorcfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-03-20 20:26:10 +0000
committercfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-03-20 20:26:10 +0000
commite1d1191055c93c05aa8e4d9ab79fd541f7e53a4f (patch)
treea695a866f734ebb78d5768e16a1ff3a2002634c9 /pki/base/common/src/com/netscape/cmscore/request
parent32f28f40159e03d2043adee049903a36b60781e7 (diff)
downloadpki-e1d1191055c93c05aa8e4d9ab79fd541f7e53a4f.tar.gz
pki-e1d1191055c93c05aa8e4d9ab79fd541f7e53a4f.tar.xz
pki-e1d1191055c93c05aa8e4d9ab79fd541f7e53a4f.zip
472916 Bugzilla. Renewal: certs created during post-installation can not be renewed via profile framework. PHASE 1 only.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@312 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/common/src/com/netscape/cmscore/request')
-rw-r--r--pki/base/common/src/com/netscape/cmscore/request/ARequestQueue.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/pki/base/common/src/com/netscape/cmscore/request/ARequestQueue.java b/pki/base/common/src/com/netscape/cmscore/request/ARequestQueue.java
index 14676086c..d41454c5e 100644
--- a/pki/base/common/src/com/netscape/cmscore/request/ARequestQueue.java
+++ b/pki/base/common/src/com/netscape/cmscore/request/ARequestQueue.java
@@ -239,10 +239,20 @@ public abstract class ARequestQueue
*/
public IRequest newRequest(String requestType)
throws EBaseException {
+ return newRequest(requestType, null);
+ }
+
+ public IRequest newRequest(String requestType, String serialNum)
+ throws EBaseException {
if (requestType == null) {
throw new EBaseException(CMS.getUserMessage("CMS_BASE_INVALID_REQUEST_TYPE", "null"));
}
- RequestId rId = newRequestId();
+ RequestId rId = null;
+ if (serialNum == null) {
+ rId = newRequestId();
+ } else {
+ rId = new RequestId(serialNum);
+ }
IRequest r = createRequest(rId, requestType);