spring-boot-admin icon indicating copy to clipboard operation
spring-boot-admin copied to clipboard

Admin security

Open ribrewguy opened this issue 10 years ago • 5 comments

Is there any way to secure the application? Perhaps if it was integrated with spring security users could provide configurations for LDAP, etc?

ribrewguy avatar Sep 29 '16 12:09 ribrewguy

Duplikate of #279

joshiste avatar Sep 29 '16 13:09 joshiste

This shouldn't be closed because it is not a duplicate of the issue referenced. I am referring to securing this application, not the applications it talks to.

ribrewguy avatar Sep 29 '16 16:09 ribrewguy

You can secure it however you'd like, it's just a Spring Boot application. You're embedding the server with @EnableAdminServer ... you can still write whatever security configuration code you want to suit your needs. Add spring-boot-starter-security to your dependencies and you have Basic Auth out of the box, for example.

steve-oakey avatar Sep 29 '16 16:09 steve-oakey

But for the same reason: security solution are rather individual... OAuth openId, LDAP, ...

If you had taken a look at the samples you would have noticed that they are securing sba server as well... Since securing the clients and leaving the server unsecured doesn't make sense at all.

Since the sba sever is just a simple spring web app just include spring security and configure as you like...

joshiste avatar Sep 29 '16 18:09 joshiste

@steave-oakey sorry. Didn't saw your answer in my mails.

joshiste avatar Sep 29 '16 18:09 joshiste