Skip to content

Commit b39e02c

Browse files
author
Dave Syer
committed
Add logger for default password
1 parent 53bd562 commit b39e02c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/SecurityAutoConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ public static class AuthenticationManagerConfiguration {
225225
public AuthenticationManager authenticationManager() throws Exception {
226226
User user = this.management.getUser();
227227
if (user.isDefaultPassword()) {
228-
logger.info("Using default password for ");
228+
logger.info("Using default password for management endpoints: "
229+
+ user.getPassword());
229230
}
230231
List<String> roles = new ArrayList<String>();
231232
roles.add("USER");

0 commit comments

Comments
 (0)