quote

domenica, gennaio 05, 2020

default spring security in spring-boot app

If you include this dependency in your pom:

 groupId: org.springframework.boot
 artifactId: spring-boot-starter-security


you "inherited" the default spring security.
When you application starts, have a look to this message:

Using generated security password: 03219696-3a8d-49d5-8385-11e84fe94ac8

Then if the login mask shows up:













Type this:

user: user
password: that password in the message...