diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html new file mode 100644 index 0000000000000000000000000000000000000000..ab3188e772de7271da730a4032fd98c5c508e862 --- /dev/null +++ b/src/main/resources/templates/index.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML> +<html xmlns:th="http://www.thymeleaf.org"> + <head> + <title>Dummy page</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + </head> + <body> + <h1>Page without authentication</h1> + <a href="#" th:href="@{/securePage}">geschützte Seite anfordern</a> + </body> +</html> diff --git a/src/main/resources/templates/securePage.html b/src/main/resources/templates/securePage.html new file mode 100644 index 0000000000000000000000000000000000000000..55b35749559211f31c4247b744faedd6d2f0a7bf --- /dev/null +++ b/src/main/resources/templates/securePage.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML> +<html xmlns:th="http://www.thymeleaf.org"> + <head> + <title>Very secure page</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + </head> + <body> + <h1>Page with authentication</h1> + <a href="#" th:href="@{/}">You're authorised to see this page</a> + </body> +</html> \ No newline at end of file