-
JPA & Security - 17 (시큐리티 사용전 주소 설계 확인)spring boot 2023. 5. 11. 15:11
학습 목표
인증(Authentication)과 권한 부여 (Authorization)를 구분하여서 기억하자.시큐리티 주소 설계 고민해보기
회원가입 페이지
로그인 페이지
index 페이지
// 권한 부여 페이지는 /auth /joinPage - 앞에 /auth 를 붙일 예정
// /auth/loginPage
/시큐리티 taglibs
https://www.baeldung.com/spring-security-taglibs
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
인증된 사용자
<sec:authorize access="isAuthenticated()">
Welcome Back,<sec:authentication property="name"/>
</sec:authorize>
'spring boot' 카테고리의 다른 글
RestTemplate 1 (서버 or 서버) (0) 2023.05.15 JPA & Security - 18 (시큐리티 사용 및 로그인 페이지 커스텀 ) (0) 2023.05.15 JPA & security (스프링 기본 파싱 전략 (0) 2023.05.10 JPA & Security (예외처리) (0) 2023.05.10 JPA & security (update, delete, 더티체킹) (0) 2023.05.10