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 |
Tags
- springsecurity
- springmvc
- GitHub
- c언어
- Swagger
- .out
- 부스트코스
- springframeworkruntime
- .idea
- assume True
- assume
- 파일삭제
- container
- springboot
- 컴퓨터과학
- gitbash
- Junit5
- assume That
- DispatcherServlet
- securityconfig
- Spring
- 팀과제
- CS50
- 원격저장소
- MVC
- MVC모듈
- 스프링프레임워크
- assuming That
- swaggerUrl
- Git
Archives
- Today
- Total
도담이 먹여 살려야하는 집사
[Spring Security] Security Config - Swagger Url 본문
@Override
public void configure(WebSecurity webSecurity) throws Exception {
webSecurity.ignoring().antMatchers(
"/v2/api-docs",
"/configuration/ui",
"/swagger-resources/**",
"/configuration/security",
"/swagger-ui.html",
"/webjars/**");
}
swagger- url 을 인가 없이 설정하는 방법 ignoring 사용하기
How to configure Spring Security to allow Swagger URL to be accessed without authentication
My project has Spring Security. Main issue: Not able to access swagger URL at http://localhost:8080/api/v2/api-docs. It says Missing or invalid Authorization header. Screenshot of the browser win...
stackoverflow.com
'Spring' 카테고리의 다른 글
JavaConfig2[SwaggerConfig/WebMvcContextConfiguration] (0) | 2020.12.21 |
---|---|
JAVAConfig[ApplicationConfig/DBConfig] (0) | 2020.12.01 |
[Spring] Container & Ioc & DI (0) | 2020.10.26 |
Spring Framework? (0) | 2020.10.26 |