[36964] in Kerberos
kerberos junit test
daemon@ATHENA.MIT.EDU (Fabrice Bacchella)
Thu May 7 14:03:52 2015
From: Fabrice Bacchella <fabrice.bacchella@orange.fr>
Message-Id: <46F8C98D-F02A-44D6-965C-7845E3DF3156@orange.fr>
Date: Thu, 7 May 2015 17:08:41 +0200
To: "kerberos@mit.edu" <kerberos@mit.edu>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
I'm trying to develop a test for a ssh server that will accept kerberos authentication (https://github.com/gitblit/gitblit/pull/254 <https://github.com/gitblit/gitblit/pull/254>)
So once I have my server running, I want to launch a junit test that connect to it. But how can I configure this test ?
I can always provide a keytab for both the server and the client, so I don't need to have a kdc running. But how can I have the service ticket (host/localhost@DOMAIN) ? To get it I need a running KDC. If I put it in the keytab, it will be expire, right ?
Is there any java framework for managing that ?
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos