[37135] in Kerberos

home help back first fref pref prev next nref lref last post

Re: how to retrieve ticket flags in JAVA

daemon@ATHENA.MIT.EDU (Todd Grayson)
Mon Jun 29 19:03:02 2015

MIME-Version: 1.0
In-Reply-To: <A8EC7159-A05F-4672-8E6D-5CBDC62F81D1@apple.com>
From: Todd Grayson <tgrayson@cloudera.com>
Date: Mon, 29 Jun 2015 17:02:28 -0600
Message-ID: <CALNT6MXto-NiGCG7TiERu9ws=yXfQU-=GJCbOFC4Te=_YrF6og@mail.gmail.com>
To: Jim Shi <hanmao_shi@apple.com>
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

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

On Mon, Jun 29, 2015 at 4:20 PM, Jim Shi <hanmao_shi@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
> 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

home help back first fref pref prev next nref lref last post