Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for http basic auth in JVM URL #272

Merged
merged 1 commit into from Apr 19, 2013
Merged

added support for http basic auth in JVM URL #272

merged 1 commit into from Apr 19, 2013

Conversation

pulse00
Copy link
Contributor

@pulse00 pulse00 commented Apr 19, 2013

Basic Auth

When securing jolokia using http basic auth, the current implementation does not pass the credentials from the JVM url down to jolokia.js. For example, using http://user:pass@example.com/jolokia/ as the JVM URL will fail, as every ajax request will be send without authentication headers.

Proxies

Additionally when running jolokia behind some proxy like nginx, the basic auth will fail due to the jolokia.js library not setting the Authentication header and relying on jquerys on-demand authentication, which is not supported by all servers.

See jolokia/jolokia#98 for details.

jstrachan added a commit that referenced this pull request Apr 19, 2013
added support for http basic auth in JVM URL
@jstrachan jstrachan merged commit 8e720c6 into hawtio:master Apr 19, 2013
@pulse00 pulse00 deleted the basicauth-patch branch April 19, 2013 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants