Jan Cholasta wrote:
Hi,

On 6.2.2013 00:44, Rob Crittenden wrote:
This adds a cert-find command for the dogtag backend.

Searches can be done by serial number, by subject, revocation reason,
issue date, notbefore, notafter and revocation dates.

I added some basic tests for this. I made it a separate test file
because the cert plugin tests do not use the declarative format and rely
on the selfsign backend by default.

rob


I have one design question: why do you emulate object interface with
Command plugins? Wouldn't it be better to add an actual Object plugin
and Method plugins? That way you would not have to duplicate the Object
bits for certs and as a result, the code would be cleaner and consistent
with the rest of our plugins.

Honza


I forget the details of the reasoning but IIRC it is because these commands aren't backed by LDAP. So the normal things we get out of Object don't apply.

rob

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to