[Spring Security] 스프링 시큐리티 기본 API 및 Filter (8)
인가 API - 권한 설정과 표현식 권한 설정은 선언적 방식과 동적 방식으로 나눌 수 있다. 선언적 방식 URL - http.antMatchers("/users/**").hasRole("USER") Method - @PreAuthroize("hasRole(`USER`)") 동적 방식 - DB 연동 프로그래밍 @Override protected void configure(HttpSecurity http) throws Exception { //인가정책 http .antMatcher("/shop/**") .authorizeRequests() .antMatchers("/shop/login", "/shop/users/**").permitAll() .antMatchers("/shop/user").hasRole("U..
Spring Framework
2022. 7. 17. 21:08
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- input
- 오라클
- Mac
- jQuery
- LocalDate
- mybatis config
- Linux
- 북리뷰
- Spring Security
- oracle
- Spring
- maven
- mybatis
- Kotlin
- rocky
- JavaScript
- window
- intellij
- 프로페셔널 스튜던트
- springboot
- Java
- svn
- Github Status
- 베리 심플
- LocalDateTime
- Bash tab
- elasticsearch
- localtime
- docker
- config-location
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
31 |
글 보관함