[37137] in Kerberos
Re: how to retrieve ticket flags in JAVA
daemon@ATHENA.MIT.EDU (Jim Shi)
Tue Jun 30 14:46:41 2015
MIME-version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Jim Shi <hanmao_shi@apple.com>
In-reply-to: <CALNT6MXto-NiGCG7TiERu9ws=yXfQU-=GJCbOFC4Te=_YrF6og@mail.gmail.com>
Date: Tue, 30 Jun 2015 11:46:24 -0700
Message-id: <E5F8D8A4-2241-4694-900C-9A5EE8C3AC8D@apple.com>
To: Todd Grayson <tgrayson@cloudera.com>
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
Todd,
Never mind, I figured out.
Thanks
Jim
> On Jun 29, 2015, at 4:02 PM, Todd Grayson <tgrayson@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_shi@apple.com <mailto: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 <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