[Freeipa-devel] [PATCH] Certificate management for services.

Adam Young ayoung at redhat.com
Tue Oct 12 18:18:01 UTC 2010


On 10/09/2010 12:23 AM, Endi Sukma Dewata wrote:
> Hi,
>
> Please review the attached patch. Thanks!
>
> This is an initial implementation of certificate management for
> services. It addresses the mechanism required to view and update
> certificates. The complete UI implementation will be addressed in
> subsequent patches.
>
> On the server side, the service.py has been modified to define
> usercertificate in the service object's takes_params. This is
> needed to generate the proper JSON metadata which is needed by
> the UI. It also has been modified to accept null certificate for
> deletion.
>
> On the client side, the service details page has been modified to
> display the base64-encoded certificate in a text area. When the
> page is saved, the action handler will store the base64-encoded
> certificate in the proper JSON structure. Also the service name
> and service hostname are now displayed in separate fields.
>
> The details configuration has been modified to support displaying
> and updating certificates. The structure is changed to use maps
> to define sections and fields. A section contains name, label,
> and an array of fields. A field contains name, label, setup
> function, load function, and save function. This is used to
> implement custom interface and behavior for certificates.
>
> All other entities, test cases, and test data have been updated
> accordingly. Some functions and variables have been renamed to
> improve clarity and consistency.
>
> --
> Endi S. Dewata
>    
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
ACK and pushed to master
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101012/f4c99683/attachment.htm>


More information about the Freeipa-devel mailing list