title: Spring Security: How to change default user and password?
body: <p>I have Spring Security in my pom.xml, and Spring Security is automatically configured with a default user and generated password:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-security&lt;/artifactId&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>How do I change the default user and password?</p>