diff options
Diffstat (limited to 'base/common/src/com/netscape/certsrv/authority/AuthorityResource.java')
-rw-r--r-- | base/common/src/com/netscape/certsrv/authority/AuthorityResource.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/base/common/src/com/netscape/certsrv/authority/AuthorityResource.java b/base/common/src/com/netscape/certsrv/authority/AuthorityResource.java index 0f8b70ade..0e915dba1 100644 --- a/base/common/src/com/netscape/certsrv/authority/AuthorityResource.java +++ b/base/common/src/com/netscape/certsrv/authority/AuthorityResource.java @@ -7,6 +7,7 @@ import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; +import javax.ws.rs.QueryParam; import javax.ws.rs.core.Response; import org.jboss.resteasy.annotations.ClientResponseType; @@ -20,11 +21,16 @@ public interface AuthorityResource { public static final String HOST_AUTHORITY = "host-authority"; @GET - public Response listCAs(); - /* + public Response findCAs( + @QueryParam("id") String id, + @QueryParam("parentID") String parentID, + @QueryParam("dn") String dn, + @QueryParam("issuerDN") String issuerDN + /* @QueryParam("start") Integer start, - @QueryParam("size") Integer size); + @QueryParam("size") Integer size */ + ) throws Exception; @GET @Path("{id}") |