title: Custom Authentication provider with Spring Security and Java Config
body: <p>How can I define a custom Authentication provider by using Spring Security with Java Configurations?
  I would like to perform a login checking credentials on my own database.</p>