반응형
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
- AWS CLI
- Medium
- aws
- no sources given
- log error
- Java 1.8
- java
- java 1.8 11
- OpenFeign
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- parse
- el1008e
- springboot
- mac os git error
- java version
- querydsl no sources given
- LeetCode
- java 버전 변경
- property or field 'jobparameters' cannot be found on object of type
- springbatch error
- java 여러개 버전
- JUnit
- easy
- maybe not public or not valid?
- error
- No tests found for given includes
- yum install java
- java 11
- 스프링부트테스트
- springboottest
Archives
- Today
- Total
목록spring role hierarchy (1)
쩨이엠 개발 블로그
[ Spring ] SecurityConfig AccessDecisionManager / ExpressionHandler
Spring Project 중 SecurityConfig에서 ROLE을 줄 때 Admin은 User의 롤을 포함한다라는 정책을 줄 때 쓰는 방법 @Configuration @EnableWebSecurity public class SecurityConfig extends WebSecurityConfigurerAdapter { @Override public void configure(HttpSecurity http) throws Exception{ http.authorizeRequests() .mvcMatchers("/admin").hasRole("ADMIN") .mvcMatchers("/user").hasRole("USER") .expressionHandler(expressionHandler()); // ..
개발/Spring
2022. 8. 25. 15:12