From 34ecb259d65a979670366a0bf969b21e9ff616b2 Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Sat, 25 Jan 2014 00:55:25 -0500 Subject: Remove old recovery and archival methods --- .../netscape/certsrv/key/KeyRequestResource.java | 31 ---------------------- 1 file changed, 31 deletions(-) (limited to 'base/common/src/com/netscape/certsrv/key') diff --git a/base/common/src/com/netscape/certsrv/key/KeyRequestResource.java b/base/common/src/com/netscape/certsrv/key/KeyRequestResource.java index 412908fc9..17e8a67e5 100644 --- a/base/common/src/com/netscape/certsrv/key/KeyRequestResource.java +++ b/base/common/src/com/netscape/certsrv/key/KeyRequestResource.java @@ -45,7 +45,6 @@ public interface KeyRequestResource { @QueryParam("maxResults") Integer maxResults, @QueryParam("maxTime") Integer maxTime); - // Archiving - used to test integration with a browser @POST @ClientResponseType(entityType=KeyRequestInfo.class) @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) @@ -66,36 +65,6 @@ public interface KeyRequestResource { @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public KeyRequestInfo getRequestInfo(@PathParam("id") RequestId id); - // Archiving - used to test integration with a browser - @POST - @Path("archive") - @ClientResponseType(entityType=KeyRequestInfo.class) - @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) - @Consumes({ MediaType.APPLICATION_FORM_URLENCODED}) - public Response archiveKey(MultivaluedMap form); - - @POST - @Path("archive") - @ClientResponseType(entityType=KeyRequestInfo.class) - @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) - @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) - public Response archiveKey(KeyArchivalRequest data); - - //Recovery - used to test integration with a browser - @POST - @Path("recover") - @ClientResponseType(entityType=KeyRequestInfo.class) - @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) - @Consumes({ MediaType.APPLICATION_FORM_URLENCODED}) - public Response recoverKey(MultivaluedMap form); - - @POST - @Path("recover") - @ClientResponseType(entityType=KeyRequestInfo.class) - @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) - @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) - public Response recoverKey(KeyRecoveryRequest data); - @POST @Path("{id}/approve") public void approveRequest(@PathParam("id") RequestId id); -- cgit