[Freeipa-devel] [PATCH 0093] Enable service authentication indicator management

Nathaniel McCallum npmccallum at redhat.com
Fri May 27 15:25:55 UTC 2016


All core functionality for authentication indicators has already been
merged. All that is left is the CLI and UI patches. Attached is the CLI
patch.

One outstanding question that I have is how to future-proof this patch.
Right now, we want to only permit two possible values: otp and radius.
So we are using an StrEnum. However, in the future (probably after
krb5-spake) we may want to have per-token custom indicators. That means
that this value will need to become a Str.

How do I code this so that we can later do a StrEnum => Str transition
without breaking API?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-npmccallum-0093-Enable-service-authentication-indicator-management.patch
Type: text/x-patch
Size: 5008 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160527/a11b46ef/attachment.bin>


More information about the Freeipa-devel mailing list