directory-kerby mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng, Kai" <>
Subject RE: Kerby client library refactoring
Date Fri, 27 Nov 2015 00:38:39 GMT
Oh, no bad at all :). Just as you did, I did think about coming up some enum or the like that's
extensible because I wanted to share common options and related codes between krb client side
and kdc server side. The overhead was not paid so I gave it up.


-----Original Message-----
From: Emmanuel Lécharny [] 
Sent: Friday, November 27, 2015 12:06 AM
Subject: Re: Kerby client library refactoring

Le 26/11/15 12:44, Zheng, Kai a écrit :
> Thanks Emmanuel for the feedback and sorry for the late response as focusing on the ASN1
>>> If those elements are going to be Enum, keep in mind that you can inherit from
another enum.
> In current Kerby codes, for options and flags, we favor using the Java enum keyword as
a better practice than interfaces of constants.
> The drawback is that it's not extensible, or in other words, an enum can't extend another

Ahhh, yeah, my bad... Not a big issue though.

View raw message