Spring Boot 2.x Security에서 hasPermission 사용
Spring Boot2.x에서 Spring Security를 이용해 권한을 관리 할 수 있다. 기본적으로 Override된 configure(HttpSecurity http)에서 AntMatcher를 이용해 Role확인을 할 수 있다. 하지만 관리 대상과 요구사항이 많아지면 Role만으로는 문제 해결이 용이하지 않다. 그래서 MethodSecurity를 이용한 권한 관리 방법을 간략히 정리한다. Gradle 설정 compile("org.springframework.boot:spring-boot-starter-security") compile("org.springframework.security:spring-security-oauth2-client") compile("org.springframework.s..
개발/Java,Spring
2019. 8. 11. 15:27
공지사항
- Total
- 24,879
- Today
- 64
- Yesterday
- 56
링크
TAG
- 설치일자
- spring
- job parameter
- spring batch
- xbstream
- nginx
- installed date
- 유효하지 않은 변수
- hasPermission
- unzip
- splitChunks
- innobackupex
- 우아한형제들
- isAuthorized
- 개발자
- PreAuthorize
- 미나미 치토세
- disable
- 우아한테크세미나
- Illegal byte sequence
- 홋카이도
- upstream
- Spring Security
- Method Security
- 에키벤
- 강대명
- 스프링배치
- 오누마당고
- 슈퍼호쿠토
- forbidden