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

Java Subject is no longer attached to the thread on http requests #6581

Closed
ryeats opened this issue May 12, 2021 · 0 comments · Fixed by #6585
Closed

Java Subject is no longer attached to the thread on http requests #6581

ryeats opened this issue May 12, 2021 · 0 comments · Fixed by #6585
Assignees

Comments

@ryeats
Copy link
Member

ryeats commented May 12, 2021

When deploy and using hawt.io or the karaf console in DDF the java subject is no longer being attached to the thread authentication fails. There is no workaround DDF applications are unaffected because the DDF subject is attached.

Steps to Reproduce

Add the following lines to custom.system.properties prior to startup
hawtio.authenticationEnabled=false
hawtio.sessionTimeout=86400

Start DDF and in karaf console:
feature:repo-add mvn:io.hawt/hawtio-karaf/2.13.2/xml/features
feature:install hawtio
in browser:
navigate to https://localhost:8993/hawtio

Expected behavior :

see the hawtio console with JMX tab

Actual behavior:

see the connection dialog to connect to a remote jolokia instance because it failed to talk to the one in /hawtio/jolokia

Affects versions

ddf-2.26.0 until now

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 a pull request may close this issue.

1 participant