https://issues.apache.org/bugzilla/show_bug.cgi?id=56701
Bug ID: 56701
Summary: Option to add port to SPN when using Kerberos
authentication
Product: JMeter
Version: 2.11
Hardware: PC
Status: NEW
Severity: enhancement
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Created attachment 31801
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31801&action=edit
Patch to alter SPN generation behaviour in AuthManager.java
We are load testing a server using Kerberos authentication, but the server
principal name is not being generated in the format that the server expects.
JMeter appears to use this format:
HTTP/example-server.com
but our server expects:
HTTP/example-server.com:12345
(where 12345 is the port number of the site being tested).
Chrome has a command-line switch '--enable-auth-negotiate-port' (disabled by
default) that adds this port number to the SPN for sites that are on a port
other than 80 or 443. (This is documented at
http://dev.chromium.org/developers/design-documents/http-authentication) -
using this switch allows the site to be browsed in Chrome.
Could a similar option be added to JMeter? At the moment I've hacked a solution
in src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
that adds the port number on if it is a non-standard port to mimic Chrome's
behaviour with the switch enabled. This obviously needs putting behind some
sort of option but I haven't had time to code this properly. My diff is
attached in case this is useful to anyone.
--
You are receiving this mail because:
You are the assignee for the bug.