aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java/jaas.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java/jaas.conf')
-rw-r--r--tests/java/jaas.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/java/jaas.conf b/tests/java/jaas.conf
index a61fb4903b03..00a9e0263fdd 100644
--- a/tests/java/jaas.conf
+++ b/tests/java/jaas.conf
@@ -3,3 +3,12 @@
kinit {
com.sun.security.auth.module.Krb5LoginModule required;
};
+
+com.sun.security.jgss.accept {
+ com.sun.security.auth.module.Krb5LoginModule required
+ useKeyTab=true
+ storeKey=true
+ keyTab="server.keytab"
+ principal="host/localhost"
+ isInitiator=false;
+};