블로그

  • 홈
  • 태그
  • 방명록

2025/08/19 2

백+프론트 연결

@Overridepublic void addCorsMappings(CorsRegistry corsRegistry) { corsRegistry.addMapping("/**") .allowedOriginPatterns("*") .allowedMethods( HttpMethod.GET.name(), HttpMethod.POST.name(), HttpMethod.PATCH.name(), HttpMethod.PUT.name(), HttpMethod.DELETE.name() ) ..

연습 2025.08.19

api서버 & 람다 추가

백은 스프링부트에 시큐리티랑 jpa를 붙이긴할거다. 일단 테스트만 할거니@Configuration@EnableWebSecurity@EnableMethodSecurity(prePostEnabled = true)public class SecurityConfig { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http .csrf(AbstractHttpConfigurer::disable) .httpBasic(AbstractHttpConfigurer::disable) .formLogin(AbstractHttp..

연습 2025.08.19
이전
1
다음
더보기
프로필사진

블로그

블로그 입니다.

  • 분류 전체보기 (12)
    • 연습 (10)

Tag

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

티스토리툴바