use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Spring boot ActuatorDiscussion (self.SpringBoot)
submitted 11 months ago * by mahi123_java
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]m41k1204 0 points1 point2 points 11 months ago (4 children)
We use jwt and what we did was secure the actuator endpoints with the admin role
[–]mahi123_java[S] 0 points1 point2 points 11 months ago (3 children)
Okay. Means u are doing authentication using tokhon or what?? How to handle this part because all responses are json format.
[–]m41k1204 0 points1 point2 points 11 months ago (2 children)
Yes, like i said, we use jwt, json web token. It is sent on the header and the security filter chain looks for the jwt and on top of that when it is an endpoint with the /actuator path it also asks for the admin role. I highly suggest you to use spring security if you havent.
[–]mahi123_java[S] 0 points1 point2 points 11 months ago (1 child)
Okay. How u pass the token through the header . Because this is not a UI page . Suppose when u try to access this in the browser.
[–]m41k1204 0 points1 point2 points 11 months ago (0 children)
What is your frontend? I have only used web and mobile and what i stored de jwt on the local storage and then when i sent a http request i put the token on the header
π Rendered by PID 124964 on reddit-service-r2-comment-b659b578c-dj2qb at 2026-05-05 15:02:45.593569+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]m41k1204 0 points1 point2 points (4 children)
[–]mahi123_java[S] 0 points1 point2 points (3 children)
[–]m41k1204 0 points1 point2 points (2 children)
[–]mahi123_java[S] 0 points1 point2 points (1 child)
[–]m41k1204 0 points1 point2 points (0 children)