Skip to content

Jolokia (or any @ServletEndpoint) does not work with EndpointRequest include/exclude #13089

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

Closed
mbhave opened this issue May 7, 2018 · 4 comments
Labels
type: bug A general bug
Milestone

Comments

@mbhave
Copy link
Contributor

mbhave commented May 7, 2018

No description provided.

@gmcouto
Copy link

gmcouto commented May 8, 2018

Sample
defect-actuator-jolokia.zip

@gmcouto
Copy link

gmcouto commented May 8, 2018

If you have server.servlet.path property set on your application, all actuator endpoints will be moved to it accordingly, except the jolokia endpoints.

How the jolokia endpoint is:
http://host:port/context-path/actuator/jolokia

How the jolokia endpoint should be:
http://host:port/context-path/servlet-path/actuator/jolokia

Examples of other endpoints:
http://host:port/context-path/servlet-path/actuator/health
http://host:port/context-path/servlet-path/actuator/auditevents
http://host:port/context-path/servlet-path/actuator/beans

@gmcouto
Copy link

gmcouto commented May 9, 2018

this is a duplicate of:
#13106

Which I have made a pull request to fix it

@wilkinsona
Copy link
Member

This doesn't sound like a duplicate of #13106 to me. This issue is about EndpointRequest and configuring security for servlet endpoints. As I understand it, there's a problem with that code irrespective of the servlet path that's in use. #13106 concerns the servlet path not being considered by servlet endpoints.

@mbhave mbhave modified the milestones: 2.0.x, 2.0.3 May 9, 2018
@mbhave mbhave closed this as completed in 4ec8795 May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants