Wed. Dec 4th, 2019

Host your Website

Read and learn

FatCow Web Hosting $1.00/mo* Trust your web hosting to the #1 web host provider, GoDaddy!

How to setup JDBC authentication with Spring Security from scratch – Java Brains

1 min read



Let’s learn how to create a new Spring Security app that uses JDBC to connect to a database for user information. You’ll learn how to configure Spring Security to query your database to get users and authorities in order to authenticate your users, and you’ll also learn how to make it work with different schemas and data sources.

Default User Schema from documentation:
https://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#user-schema

Java Brains website: https://javabrains.io

#JavaBrains #BrainBytes #HowTo #SpringSecurity #Spring #SpringBoot #Java #Tutorial

11 thoughts on “How to setup JDBC authentication with Spring Security from scratch – Java Brains

  1. Hello Koushik. Maybe you already planned this, but could you show us how to get rid of the default html templates that spring security provides? Especially if you're building a rest service and don't want to use html at all.

Comments are closed.

Copyright © All rights reserved. | Newsphere by AF themes.