Spring boot Security logout 호출
2024. 8. 25. 23:46ㆍJava/Spring Boot Security
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org"
xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity6">
<head>
<title>Hello World!</title>
</head>
<body>
<h1 th:inline="text">Hello <span th:remove="tag" sec:authentication="name">thymeleaf</span>!</h1>
<form th:action="@{/logout}" method="post">
<input type="submit" value="Sign Out"/>
</form>
</body>
</html>
'Java > Spring Boot Security' 카테고리의 다른 글
Spring boot Security 각 Class 역할 (0) | 2024.09.08 |
---|---|
Spring boot Security /logout 실행시, blocked:mixed-content 에러 (0) | 2024.09.03 |
Spring boot Security 2FA OTP 적용 (0) | 2024.08.19 |
Spring boot Security 비밀번호 비교 (0) | 2024.08.15 |
Spring boot Security 에러 메세지 처리 (0) | 2024.08.15 |