jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1509712 - in /jmeter/trunk/bin: jaas.conf krb5.ini system.properties
Date Fri, 02 Aug 2013 13:52:59 GMT
Author: pmouawad
Date: Fri Aug  2 13:52:59 2013
New Revision: 1509712

URL: http://svn.apache.org/r1509712
Log:
Bug 53480 - Add Kerberos support to Http Sampler (HttpClient4)
Add configuration
Bugzilla Id: 53480

Added:
    jmeter/trunk/bin/jaas.conf
    jmeter/trunk/bin/krb5.ini   (with props)
Modified:
    jmeter/trunk/bin/system.properties

Added: jmeter/trunk/bin/jaas.conf
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jaas.conf?rev=1509712&view=auto
==============================================================================
--- jmeter/trunk/bin/jaas.conf (added)
+++ jmeter/trunk/bin/jaas.conf Fri Aug  2 13:52:59 2013
@@ -0,0 +1,33 @@
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements.  See the NOTICE file distributed with
+#   this work for additional information regarding copyright ownership.
+#   The ASF licenses this file to You under the Apache License, Version 2.0
+#   (the "License"); you may not use this file except in compliance with
+#   the License.  You may obtain a copy of the License at
+# 
+#       http://www.apache.org/licenses/LICENSE-2.0
+# 
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+
+#Sample file, you need to edit for your configuration
+com.sun.security.jgss.krb5.initiate {
+    com.sun.security.auth.module.Krb5LoginModule required
+    doNotPrompt=true
+    principal="HTTP/www.example.com@EXAMPLE.COM"
+    useKeyTab=true
+    keyTab="/home/felix/Developer/apache-tomcat-7.0.40/conf/www.example.com.keytab"
+    storeKey=true;
+};
+
+com.sun.security.jgss.krb5.accept {
+    com.sun.security.auth.module.Krb5LoginModule required
+    doNotPrompt=true
+    principal="HTTP/www.example.com@EXAMPLE.COM"
+    useKeyTab=true
+    keyTab="/home/felix/Developer/apache-tomcat-7.0.40/conf/www.example.com.keytab"
+    storeKey=true;
+};

Added: jmeter/trunk/bin/krb5.ini
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/krb5.ini?rev=1509712&view=auto
==============================================================================
--- jmeter/trunk/bin/krb5.ini (added)
+++ jmeter/trunk/bin/krb5.ini Fri Aug  2 13:52:59 2013
@@ -0,0 +1,31 @@
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements.  See the NOTICE file distributed with
+#   this work for additional information regarding copyright ownership.
+#   The ASF licenses this file to You under the Apache License, Version 2.0
+#   (the "License"); you may not use this file except in compliance with
+#   the License.  You may obtain a copy of the License at
+# 
+#       http://www.apache.org/licenses/LICENSE-2.0
+# 
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+
+#Sample file, you need to edit for your configuration
+[libdefaults]
+default_realm = EXAMPLE.COM
+default_keytab_name = FILE:/home/felix/apache-tomcat-7.0.40/conf/www.example.com.keytab
+default_tkt_enctypes = aes256-cts-hmac-sha1-96,aes128-cts-hmac-sha1-96
+default_tgs_enctypes = aes256-cts-hmac-sha1-96,aes128-cts-hmac-sha1-96
+forwardable=true
+
+[realms]
+EXAMPLE.COM = {
+        kdc = kerberos.example.com:60088
+}
+
+[domain_realm]
+example.com= EXAMPLE.COM
+.example.com= EXAMPLE.COM

Propchange: jmeter/trunk/bin/krb5.ini
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: jmeter/trunk/bin/system.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/system.properties?rev=1509712&r1=1509711&r2=1509712&view=diff
==============================================================================
--- jmeter/trunk/bin/system.properties (original)
+++ jmeter/trunk/bin/system.properties Fri Aug  2 13:52:59 2013
@@ -79,4 +79,8 @@
 #
 # We enable the following property to allow headers such as "Host" to be passed through.
 # See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6996110
-sun.net.http.allowRestrictedHeaders=true
\ No newline at end of file
+sun.net.http.allowRestrictedHeaders=true
+
+#Uncomment for Kerberos authentication and edit the 2 config files to match your domains
+#java.security.krb5.conf=krb5.conf
+#java.security.auth.login.config=jaas.conf



Mime
View raw message