Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Coroutine
- 프로래머스
- MySQL
- 백준 19238
- 백준
- Kotlin
- sql 기술면접
- 백준 17626
- MSA
- Spring Boot
- spring oauth
- java 기술면접
- Spring
- 백준 16235
- 백준 15685
- 백준 파이썬
- 백준 16236
- spring security
- with recursive
- springboot
- 백준 16719
- 프로그래머스
- 백준 17779
- JVM
- java
- JPA
- re.split
- 파이썬
- spring cloud
- 웹어플리케이션 서버
Archives
- Today
- Total
시작이 반
[Spring] Thymeleaf에서 세션 확인 (th에서 authentication사용하기) 본문
SMALL
<span th:if="${#authentication.principal.user.id} == ${board.user.id}">
<button id="btn-delete" class="btn btn-danger">삭제</button>
<button id="btn-update" class="btn btn-warning">수정</button>
</span>
#authentication.principal 로 접근 가능
LIST
'Programming > Spring' 카테고리의 다른 글
[Spring] 1. Oauth 2.0 카카오 로그인 세팅 (0) | 2021.02.17 |
---|---|
[Spring] 0. OAuth2.0 카카오 과정 (0) | 2021.02.15 |
[Spring] 스프링 시큐리티 Controller에서 세션 찾기 (0) | 2021.02.14 |
[Spring] 스프링 시큐리티 로그인 (0) | 2021.02.14 |
[Spring] CSRF, XSS (0) | 2021.02.11 |