[37534] in Kerberos

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

Re: kinit from java

daemon@ATHENA.MIT.EDU (Jorj Bauer)
Wed Jun 22 08:19:40 2016

To: "kerberos@mit.edu" <kerberos@mit.edu>
From: Jorj Bauer <jorj@temple.edu>
Message-ID: <9d45679e-02c5-13d3-d8d1-1fedb5ce3a66@temple.edu>
Date: Wed, 22 Jun 2016 08:19:18 -0400
MIME-Version: 1.0
In-Reply-To: <9E2EF4AEAD6E874AB547AF000CF1C11221026766@EXTXMB21.nam.nsroot.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu


If you're looking for real kinit functionality so that you can interact 
with kerberized services, you might just shell exec kinit. Others on the 
list might have better suggestions.

If you're looking to validate username/password logins via Kerberos 
(which is the context in which I'm accustomed to hearing that question), 
then this jar might help you:

   https://github.com/JorjBauer/java-kpass

-- Jorj


On 06/22/2016 02:37 AM, Ghosh, Parthapratim  wrote:
> Hi Kerberos team,
>
> I have the following question -
>
> How can one simulate kinit call with userid and password from java. I have a java process running and want to kinit from that process.
>
> Thanks and Regards
> Partha Pratim Ghosh
>
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>
________________________________________________
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