From 5986350ef26842559ad50473d2288daf10199d28 Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Thu, 20 Dec 2012 17:38:13 -0500 Subject: Resolved Trac Ticket 367 - pkidestroy does not remove connector * Added RESTful servlet to add/remove a KRA connector from the CA. * Modified ACL to allow KRA subsystem user to remove connector. * Modified connector code to allow the connector to be replaced without a server restart. * Added functionality to pki CLI to add/remove connector * Added code to pkidestroy to remove the connector (using both pki CLI and sslget) When the issues with pki connection are resolved, we will use that method instead. * Modified sslget to accept HTTP return codes != 200. In this case, we were returning 204 - which is perfectly legitimate. --- base/common/src/com/netscape/certsrv/connector/IResender.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'base/common/src/com/netscape/certsrv/connector/IResender.java') diff --git a/base/common/src/com/netscape/certsrv/connector/IResender.java b/base/common/src/com/netscape/certsrv/connector/IResender.java index b1cd6149e..f5259ae02 100644 --- a/base/common/src/com/netscape/certsrv/connector/IResender.java +++ b/base/common/src/com/netscape/certsrv/connector/IResender.java @@ -36,4 +36,15 @@ public interface IResender extends Runnable { */ public void addRequest(IRequest r); + /** + * shutdown status of the sender + * @return shutdown status + */ + public boolean isShutdown(); + + /** + * used to shut down the sender + * @param shutdown + */ + public void setShutdown(boolean shutdown); } -- cgit