leo
leo

Reputation: 583

What are the differences between values: ADMIN, USER, SUPERUSER for management.security.roles for spring boot applications?

I found no documentation for management.security.roles configuration. What are the actual differences between these valuse?

Upvotes: 0

Views: 437

Answers (1)

Stephane Nicoll
Stephane Nicoll

Reputation: 33141

These are just examples, there's nothing specific in Spring Boot about these.

The only thing is that the management security role defaults to ADMIN. So if your user happen to have that role, then you'll be able to access the secured actuator endpoints. You can change that value to anything you want and that's where the SUPERUSER role came from (it's just an example).

Upvotes: 2

Related Questions