From f0001c5c8d8a33729b93d8d6e10d3af40bfabed6 Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 13 Jun 2026 21:03:31 +0530 Subject: Added sample application 09-spring-security-db-authentication --- .../src/main/resources/templates/contact/form.html | 30 +++++++++++++++++++ .../main/resources/templates/contact/result.html | 14 +++++++++ .../src/main/resources/templates/index.html | 18 +++++++++++ .../src/main/resources/templates/layout/main.html | 35 ++++++++++++++++++++++ 4 files changed, 97 insertions(+) create mode 100644 spring-boot/09-spring-security-db-authentication/src/main/resources/templates/contact/form.html create mode 100644 spring-boot/09-spring-security-db-authentication/src/main/resources/templates/contact/result.html create mode 100644 spring-boot/09-spring-security-db-authentication/src/main/resources/templates/index.html create mode 100644 spring-boot/09-spring-security-db-authentication/src/main/resources/templates/layout/main.html (limited to 'spring-boot/09-spring-security-db-authentication/src/main/resources/templates') diff --git a/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/contact/form.html b/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/contact/form.html new file mode 100644 index 0000000..7debe1f --- /dev/null +++ b/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/contact/form.html @@ -0,0 +1,30 @@ + + + + +
+
+
+ + +
+
+ +
+ + +
+
+ +
+ + +
+
+ + +
+
+ + + \ No newline at end of file diff --git a/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/contact/result.html b/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/contact/result.html new file mode 100644 index 0000000..d1bda9a --- /dev/null +++ b/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/contact/result.html @@ -0,0 +1,14 @@ + + + + +
+

We received your message.

+ +

+ + Try again +

+ + + \ No newline at end of file diff --git a/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/index.html b/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/index.html new file mode 100644 index 0000000..dce7a4e --- /dev/null +++ b/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/index.html @@ -0,0 +1,18 @@ + + + + +
+

Hello, Username Placeholder!

+ +

Hello, [[${#authentication.name}]]!

+ +

This is the home page content.

+ +

Use the navigation links to explore other pages.

+
+ + + \ No newline at end of file diff --git a/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/layout/main.html b/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/layout/main.html new file mode 100644 index 0000000..5f988d0 --- /dev/null +++ b/spring-boot/09-spring-security-db-authentication/src/main/resources/templates/layout/main.html @@ -0,0 +1,35 @@ + + + + + Base title not shown + + + + + +
+

ABC App

+
+ + + +

Page content area title

+ + + + + + + \ No newline at end of file -- cgit v1.2.3