Created attachment 35969 [details] re-enable credential delegation for SPNEGO Newer versions of commons httpclient disabled the delegation of credentials when using SPNEGO for authentication. The attached patch (same as pr 387 on github) makes it possible to enable delegation again. It is disabled by default, though.
Date: Sat Jun 16 13:37:58 2018 New Revision: 1833637 URL: http://svn.apache.org/viewvc?rev=1833637&view=rev Log: Make delegation of credentials in SPNEGO possible again. Newer versions of httpcomponents-client (at least in the 4.x branch) removed the ability to delegate kerberos credentials via SPNEGO. This will make it possible to re-enable delegation by specifying a system property. Bugzilla Id: 62462 Closes #387 on github Added: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DelegatingKerberosScheme.java (with props) jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DelegatingSPNegoScheme.java (with props) jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DynamicSPNegoSchemeFactory.java (with props) Modified: jmeter/trunk/bin/jmeter.properties jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DynamicKerberosSchemeFactory.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/component_reference.xml jmeter/trunk/xdocs/usermanual/properties_reference.xml
Date: Sat Jun 16 14:47:37 2018 New Revision: 1833640 URL: http://svn.apache.org/viewvc?rev=1833640&view=rev Log: Make checkstyle happy. Follow up to r1833637 Bugzilla Id: 62462 Relates to #387 on github Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DynamicKerberosSchemeFactory.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DynamicSPNegoSchemeFactory.java
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4798