[Freeipa-devel] Client-side command in the IPA framework

Nathaniel McCallum npmccallum at redhat.com
Thu Feb 27 22:56:09 UTC 2014


On Thu, 2014-02-27 at 17:44 -0500, Nathaniel McCallum wrote:
> So the recent discussion on importing tokens led me to write a script to
> parse RFC 6030 xml files into IPA token data. This all works well. But
> now I need to integrate it into the IPA framework.
> 
> This command will parse one or more xml files, creating a set of tokens
> to be added. Given that we already have otptoken-add on the server-side,
> it seems to me that all work needs to be done on the client-side. How do
> I create a new client-side command that calls existing server-side API?

Also, would it be better to send the whole file to the server and do the
parsing on the server side? Would this simplify UI implementation? Would
we run into trouble with large files?

Nathaniel




More information about the Freeipa-devel mailing list