Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
2a7fd501
Commit
2a7fd501
authored
Apr 14, 2017
by
Madhura Bhave
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify docs on actuator security
Closes gh-8646
parent
294f880f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+14
-0
No files found.
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
2a7fd501
...
@@ -583,6 +583,20 @@ in your `application.properties`:
...
@@ -583,6 +583,20 @@ in your `application.properties`:
management.security.roles=SUPERUSER
management.security.roles=SUPERUSER
----
----
If your application has custom security configuration and you want all your actuator endpoints
to be accessible without authentication, you need to explicitly configure that in your
security configuration. Along with that, you need to change the `management.security.enabled`
property to `false`.
If your custom security configuration secures your actuator endpoints, you also need to ensure that
the authenticated user has the roles specified under `management.security.roles`.
TIP: If you don'
t
have
a
use
case
for
exposing
basic
health
information
to
unauthenticated
users
,
and
you
have
secured
the
actuator
endpoints
with
custom
security
,
you
can
set
`
management
.
security
.
enabled
`
to
`
false
`.
This
will
inform
Spring
Boot
to
skip
the
additional
role
check
.
[[
production
-
ready
-
customizing
-
management
-
server
-
context
-
path
]]
[[
production
-
ready
-
customizing
-
management
-
server
-
context
-
path
]]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment