summaryrefslogtreecommitdiff
path: root/spring-boot/10-role-based-security/src/main/resources/templates/error
diff options
context:
space:
mode:
Diffstat (limited to 'spring-boot/10-role-based-security/src/main/resources/templates/error')
-rw-r--r--spring-boot/10-role-based-security/src/main/resources/templates/error/403.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/spring-boot/10-role-based-security/src/main/resources/templates/error/403.html b/spring-boot/10-role-based-security/src/main/resources/templates/error/403.html
new file mode 100644
index 0000000..c1db2c0
--- /dev/null
+++ b/spring-boot/10-role-based-security/src/main/resources/templates/error/403.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html xmlns:th="http://thymeleaf.org">
+<head>
+ <title>Error Occurred</title>
+</head>
+<body>
+ <h1>You have no permission!</h1>
+ <p>Status: <span th:text="${status}">500</span></p>
+ <p>Message: <span th:text="${message}">Error Message</span></p>
+ <p>Timestamp: <span th:text="${timestamp}">Date</span></p>
+</body>
+</html> \ No newline at end of file