summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/rabase.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-11-15 10:55:33 -0500
committerRob Crittenden <rcritten@redhat.com>2013-02-19 11:52:33 -0500
commit462beacc9d13968128fa320d155016df2d72a20a (patch)
tree2c53b8cd152e56d51368fe561b48cb0da06b12fa /ipaserver/plugins/rabase.py
parent74c11d88aeb43fe45a22e787c60f8c20c454ec56 (diff)
downloadfreeipa-462beacc9d13968128fa320d155016df2d72a20a.tar.gz
freeipa-462beacc9d13968128fa320d155016df2d72a20a.tar.xz
freeipa-462beacc9d13968128fa320d155016df2d72a20a.zip
Implement the cert-find command for the dogtag CA backend.
Use a new RESTful API provided by dogtag 10+. Construct an XML document representing the search request. The output is limited to whatever dogtag sends us, there is no way to request additional attributes other than to read each certificate individually. dogtag uses a boolean for each search term to indicate that it is used. Presense of the search item is not enough, both need to be set. The search operation is unauthenticated Design page: http://freeipa.org/page/V3/Cert_find https://fedorahosted.org/freeipa/ticket/2528
Diffstat (limited to 'ipaserver/plugins/rabase.py')
-rw-r--r--ipaserver/plugins/rabase.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipaserver/plugins/rabase.py b/ipaserver/plugins/rabase.py
index 369027b43..1d8713f4a 100644
--- a/ipaserver/plugins/rabase.py
+++ b/ipaserver/plugins/rabase.py
@@ -111,3 +111,11 @@ class rabase(Backend):
"""
raise errors.NotImplementedError(name='%s.take_certificate_off_hold' % self.name)
+
+ def find(self, options):
+ """
+ Search for certificates
+
+ :param options: dictionary of search options
+ """
+ raise errors.NotImplementedError(name='%s.find' % self.name)