kerberos junit test
fabrice.bacchella at orange.fr
Thu May 7 11:08:41 EDT 2015
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 at 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 ?
More information about the Kerberos