diff --git a/auth-server-demo/pom.xml b/auth-server-demo/pom.xml
index ea4bf3befad30a09e48ce2adc6572602bfc949a4..3158c9e169de1a4595787a54399ef2c837d302a2 100644
--- a/auth-server-demo/pom.xml
+++ b/auth-server-demo/pom.xml
@@ -40,6 +40,15 @@
spring-security-oauth2-authorization-server
1.0.0
+
+ org.springframework.boot
+ spring-boot-starter-thymeleaf
+
+
+ org.springframework.boot
+ spring-boot-starter-validation
+
+
com.microsoft.sqlserver
mssql-jdbc
@@ -55,6 +64,12 @@
org.springframework.boot
spring-boot-starter-test
test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+
+
diff --git a/readme.md b/readme.md
index c69e33c11481c7faf958e589d0db9e0182596c1e..629d746689849066c4592d594f187f23f95967a2 100644
--- a/readme.md
+++ b/readme.md
@@ -20,6 +20,8 @@ This article adds the JPA implementations to client/authorization/authorization-
- [Spring Security: Authentication with a Database-backed UserDetailsService](https://www.baeldung.com/spring-security-authentication-with-a-database)
- [Password storage](https://docs.spring.io/spring-security/reference/features/authentication/password-storage.html)
- [Spring Security Architecture](https://docs.spring.io/spring-security/reference/servlet/architecture.html)
+- [Registration Login example using Spring Boot/Spring Security/JPA/MySql/Thymeleaf](https://www.javaguides.net/2019/08/registration-login-example-using-springboot-spring-data-jpa-hibernate-mysql-thymeleaf.html)
+ - [Source repository](git@github.com:RameshMF/registration-login-springboot-security-thymeleaf.git)
To be read?
@@ -39,6 +41,11 @@ Dependencies:
Resource server.
+Related documents:
+- [Spring Boot Resource Server](https://docs.spring.io/spring-security/reference/servlet/oauth2/resource-server/index.html)
+- [Resource Server samples](https://github.com/spring-projects/spring-security-samples/tree/main/servlet/spring-boot/java/oauth2/resource-server)
+
+
Dependencies:
- Java 17;
- Spring Boot 3.0;
diff --git a/resource-server-demo/src/main/java/com/poc/alvachien/resourceserverdemo/controller/NonProtectedController.java b/resource-server-demo/src/main/java/com/poc/alvachien/resourceserverdemo/controller/NonProtectedController.java
index 4be64bec0630f2dd7063810fe9642c3f80c13ef1..34e644fecbd9ff3cbabde291faff10eb3b7a7678 100644
--- a/resource-server-demo/src/main/java/com/poc/alvachien/resourceserverdemo/controller/NonProtectedController.java
+++ b/resource-server-demo/src/main/java/com/poc/alvachien/resourceserverdemo/controller/NonProtectedController.java
@@ -3,8 +3,6 @@ package com.poc.alvachien.resourceserverdemo.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
-import org.springframework.web.bind.annotation.RequestParam;
-
@RestController
@RequestMapping("/api/NonProtected")