---
title: "Discussion on \"Spring Security: JDBC Authentication (Part 1)\" | Hashnode"
description: "Discussion on \"Spring Security: JDBC Authentication (Part 1)\". In the previous sections, we set up user authentication using InMemoryUserDetailsManager. While this is fine for simple cases, real-world applications usually use a database for user credentials.\nFor simplicity, I'll use the H2 in-memory database in ..."
url: "https://hashnode.com/posts/spring-security-jdbc-authentication-part-1/683a071b6aba8447648e8857"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Spring Security: JDBC Authentication (Part 1)](https://bharadwaz.hashnode.dev/spring-security-jdbc-authentication-part-1?utm_source=hashnode&utm_medium=feed)

In the previous sections, we set up user authentication using InMemoryUserDetailsManager. While this is fine for simple cases, real-world applications usually use a database for user credentials. For simplicity, I'll use the H2 in-memory database in ...

May 30, 2025 · 3 min read · bharadwaz.hashnode.dev  
Read the article

## Written by

[Sarat Chandra Bharadwaj](https://hashnode.com/@Bharadwaz)

@Bharadwaz

  
[View profile](https://hashnode.com/@Bharadwaz)

Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
