springboot

개발로그

[개발로그] @Basic, Spring Validator, MVC 적용한 컨트롤러 테스트

@Basic @Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface Basic { /** * (Optional) Defines whether the value of the field or property should * be lazily loaded or must be eagerly fetched. The EAGER * strategy is a requirement on the persistence provider runtime * that the value must be eagerly fetched. The LAZY * strategy is a hint to the persistence provider runtime. * If not specif..

개발로그

[Spring Boot JPA 커뮤니티]Spring Security + Thymeleaf 게시글 작성자만 삭제, 수정하기

댓글 수정, 삭제를 구현하기 전에 Spring Security와 Thymeleaf로 게시글을 작성자만 삭제, 수정 가능하게 리팩터링 한다. Spring Security에서 관리하는 세션을 Thymeleaf 에서 접근할 수 있다. https://www.thymeleaf.org/doc/articles/springsecurity.html Thymeleaf + Spring Security integration basics - Thymeleaf Have you switched to Thymeleaf but your login and error pages are still using JSP? In this article we will see how to configure your Spring application ..

비오베베
'springboot' 태그의 글 목록