Todd,

Never mind, I figured out.


Thanks
Jim





> On Jun 29, 2015, at 4:02 PM, Todd Grayson <tgray...@cloudera.com> wrote:
> 
> This is more within the Oracle JDK's JGSS layer, you might want to post 
> questions to the community discussion for it. 
> 
> The URL For that forum is (if the mailman lets me include a URL):
> 
> https://community.oracle.com/community/java/java_security/kerberos_%26_java_gss
>  
> <https://community.oracle.com/community/java/java_security/kerberos_%26_java_gss>
> 
> On Mon, Jun 29, 2015 at 4:20 PM, Jim Shi <hanmao_...@apple.com 
> <mailto:hanmao_...@apple.com>> wrote:
> 
> Hi, I am try to find if a particular  ticket flag in a kerberos ticket  is 
> set in Java, I was suggested to use the following code:
> 
> boolean[] flags = (boolean[])((ExtendedGSSContext) context).inquireSecContext(
>                                                 
> InquireType.KRB5_GET_TKT_FLAGS);
> 
> Say I want to check if TKT_FLG_HW_AUTH is set, at what index should I check 
> the boolean value?
> 
> Is there mapping from indexies of array to ticket flags?
> 
> Thanks
> 
> Jim
> 
> 
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu <mailto:Kerberos@mit.edu>
> https://mailman.mit.edu/mailman/listinfo/kerberos 
> <https://mailman.mit.edu/mailman/listinfo/kerberos>
> 
> 
> 
> -- 
> Todd Grayson
> Customer Operations Engineering
> 

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to