Commit b39e02cc authored by Dave Syer's avatar Dave Syer

Add logger for default password

parent 53bd5627
...@@ -225,7 +225,8 @@ public class SecurityAutoConfiguration { ...@@ -225,7 +225,8 @@ public class SecurityAutoConfiguration {
public AuthenticationManager authenticationManager() throws Exception { public AuthenticationManager authenticationManager() throws Exception {
User user = this.management.getUser(); User user = this.management.getUser();
if (user.isDefaultPassword()) { if (user.isDefaultPassword()) {
logger.info("Using default password for "); logger.info("Using default password for management endpoints: "
+ user.getPassword());
} }
List<String> roles = new ArrayList<String>(); List<String> roles = new ArrayList<String>();
roles.add("USER"); roles.add("USER");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment