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 | 29 | 30 | 31 |
Tags
- Vue.js
- 의존성 주입
- Singleton
- Java
- BEAN
- vuex
- 싱글톤
- Excel
- 프로토타입
- di
- Repository
- HTTP
- JPA
- 캐시
- vue-cli
- javascript
- HTTP 메서드
- 라이프 사이클
- Security
- Kotlin
- 로그인
- Spring
- cache
- DB
- dependency injection
- Setter
- Stateless
- VUE
- js
- thymeleaf
Archives
- Today
- Total
목록logout (1)
jhhan의 블로그
Spring Security(2)
Spring Security에 관해 좀 더 실제 코드를 살펴 보겠습니다. @EnableWebSecurity public class SecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests() .antMatchers("/adminOnly").hasAuthority("ROLE_ADMIN") .antMatchers("/**").permitAll() // 넓은 범위의 URL을 아래로 배치 .anyRequest().authenticated() // ? .and() .csrf().disable() .form..
보안관련
2020. 4. 23. 15:35