我正在使用spring-boot 1.3.1和spring-boot-actuator来开发我的应用程序。在pom.xml
中,我使用spring-boot-starter-parent
作为父级。
如果要禁用安全性,我需要在application.yml
文件中添加两个条目。
security:
basic:
enabled: false
management:
security:
enabled: false
它仍未禁用基本安全性。当我在本地Tomcat中启动应用程序时,我在日志文件中看到了默认密码。