summaryrefslogtreecommitdiff
path: root/spring-boot/10-role-based-security/src/main/resources/templates/index.html
blob: dce7a4e31600619327958a636597dd41d32dc98a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org"
    xmlns:sec="http://thymeleaf.org/extras/spring-security"
    th:replace="~{layout/main :: layout(title='Welcome', content=~{::main})}">

<body>
    <main>
        <p>Hello, <span sec:authentication="name">Username Placeholder</span>!</p>

        <p>Hello, [[${#authentication.name}]]!</p>

        <p>This is the home page content.</p>
        
        <p>Use the navigation links to explore other pages.</p>
    </main>
</body>

</html>