Add logger for default password

This commit is contained in:
Dave Syer
2013-08-22 10:50:57 +01:00
parent 53bd5627fc
commit b39e02cc74
@@ -225,7 +225,8 @@ public class SecurityAutoConfiguration {
public AuthenticationManager authenticationManager() throws Exception {
User user = this.management.getUser();
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>();
roles.add("USER");