HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🚀
Random Bit Flip
/
🐶
[2기 - 흑구] 11주차 RBF
🐶

[2기 - 흑구] 11주차 RBF

주차
백엔드가 이정도는 해줘야함
회고일
Jun 3, 2022
참여자
멘토
Property
tag
문정현
WebSecurityConfigurerAdapter Deprecated
어댑터를 상속받고 오버라이드 된 메소드를 재정의 하는 방법 대신 Bean을 만드는 방식으로 변경됨
Spring Security without the WebSecurityConfigurerAdapter
In Spring Security 5.7.0-M2 we deprecated the WebSecurityConfigurerAdapter , as we encourage users to move towards a component-based security configuration. To assist with the transition to this new style of configuration, we have compiled a list of common use-cases and the suggested alternatives going forward.
Spring Security without the WebSecurityConfigurerAdapter
https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter
Spring Security without the WebSecurityConfigurerAdapter
사용 예시 中 하나
기존 방식(deprecated) @Configuration public class SecurityConfiguration extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http .authorizeHttpRequests((authz) -> authz .anyRequest().authenticated() ) .httpBasic(withDefaults()); } }
새로운 사용 방법 @Configuration public class SecurityConfiguration { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http .authorizeHttpRequests((authz) -> authz .anyRequest().authenticated() ) .httpBasic(withDefaults()); return http.build(); } }
SQLD
SQL 자격 검증 실전 문제 1회독 이상하기 (SQLD 기출 문제 부분만 풀고 SQLP 부분인 3장은 풀지 X) ⇒ 여기에서 똑같은 1,2 문제 이상 나왔음, (실제 기출은 해당 문제집의 문제들보다 난이도가 낮은 편입니다.)
정미나 강사님 SQLD 관련 강의
SQLD 시험 전에 한번씩 보세요!
안녕하세요, 정미나입니다.SQLD 단골 문제들을 스피드 퀴즈로 만들어 보았어요! 다들 퀴즈 풀고 가세요~~이 영상을 보시는 모든 분들께 행운이 따르길 바랍니다! 😉감사합니다.#SQLD #퀴즈 #스피드
SQLD 시험 전에 한번씩 보세요!
https://www.youtube.com/watch?v=rWdfFV8Wb18&list=PLyQR2NzLKOCZU_jjLAdebyx9oE9dvvsrE&index=17
SQLD 시험 전에 한번씩 보세요!
업비트 프로젝트 진행 중 참고한 레퍼런스
  1. api 요청에 대한 응답 결과를 파싱하기
    1. Get list of JSON objects with Spring RestTemplate | Baeldung
      Our services often have to communicate with other REST services in order to fetch information. In Spring, we can use RestTemplate to perform synchronous HTTP requests. The data is usually returned as JSON, and RestTemplate can convert it for us.
      Get list of JSON objects with Spring RestTemplate | Baeldung
      https://www.baeldung.com/spring-resttemplate-json-list
      Get list of JSON objects with Spring RestTemplate | Baeldung
  1. 5분 캔들차트 속성 중 local datetime 오류 해결하기
    1. [Java] Java 8 LocalDateTime 직렬화 역직렬화 오류 해결 방법
      serialize/deserialize java 8 java.time with Jackson JSON mapper How do I use Jackson JSON mapper with Java 8 LocalDateTime? org.codehaus.jackson.map.JsonMappingException: Can not instantiate value of type [simple type, class java.time.LocalDateTime] from JSON stackoverflow.com
      [Java] Java 8 LocalDateTime 직렬화 역직렬화 오류 해결 방법
      https://itpro.tistory.com/117
      [Java] Java 8 LocalDateTime 직렬화 역직렬화 오류 해결 방법
  1. ObjectMapper 설정을 통해 객체에 설정하지 않은 필드 속성을 제외하고 변환할 수 있게 설정하기
    1. [Spring] JSON Unrecognized field 해결방법(@JsonIgnoreProperties)
      JSON 데이터를 구성하는 요소가 가변적일 때 무시하는 방법 *소스는 변하지 않았지만 연동 했던 API 응답 값이 변했다고 가정 ▷ ERROR - JSON 데이터를 매핑하지 못해 에러 발생 com.fasterxml.jackson.databind...
      [Spring] JSON Unrecognized field 해결방법(@JsonIgnoreProperties)
      https://coding-today.tistory.com/24
      [Spring] JSON Unrecognized field 해결방법(@JsonIgnoreProperties)
  1. Url Encoding
    1. [Java] URLEncoder URLDecoder 클래스
      자바 URLEncoding 웹 개발을 하다보면 URL 관련하여 인코딩이 필요한 경우가 있습니다. URL에는 여러가지 규칙이 있고 그 규칙에 사용되는 문자들이 정해져있기 때문에 특정한 값들은 규칙에 맞게 변환되어야 합..
      [Java] URLEncoder URLDecoder 클래스
      https://dololak.tistory.com/19
      [Java] URLEncoder URLDecoder 클래스
 
정해민
일급 컬렉션
일급 컬렉션 (First Class Collection)의 소개와 써야할 이유
Java & Kotlin 최근 클린코드 & TDD 강의의 리뷰어로 참가하면서 많은 분들이 공통적으로 어려워 하는 개념 한가지를 발견하게 되었습니다. 바로 일급 컬렉션인데요. 왜 객체지향적으로, 리팩토링하기 쉬운 코드로 갈려면 일급 컬렉션이 필요한지에 대해 많은 분들이 공감하지 못하는걸 보게 되었습니다. 그래서 이번 시간에는 일급 컬렉션 (First Class Collection) 이 무엇인지, 어떤 장점들이 있는지에 대해 소개드립니다.
일급 컬렉션 (First Class Collection)의 소개와 써야할 이유
https://jojoldu.tistory.com/412
일급 컬렉션 (First Class Collection)의 소개와 써야할 이유
ObjectMapper 커스터마이징
www.baeldung.com
https://www.baeldung.com/spring-boot-customize-jackson-objectmapper
Spring Data Jpa에서 다건을 한번에 Insert 할 때는 saveAll 메서드를 사용하자.
www.baeldung.com
https://www.baeldung.com/spring-data-save-saveall
URI Template이란?
스프링 MVC를 사용하면서 아무 생각 없이 @RequestMapping에서 /posts/{postId 와 같이 {} 을 사용해서 가변 값을 받아왔는데, 이런 형식을 보고 URI Template라고 부른다는걸 이번에 처음 알았습니다🥲
[Spring] URI Template
오늘은 URI에서 고정적인 값과 가변적인 값을 구분하여 템플릿으로 지정, 사용하는 URI Template에 대해 알아보겠습니다. ⭐ URI 템플릿은 URI를 확인하기 전에 대체해야하는 매개 변수를 포함하는 URI를 지정하는 방법입니다. 웹 서핑을 하다보면, 가끔 url에 내 id처럼 남들과 중복되지 않는, 나만의 값이 포함되어 있는 경우를 만날 수 있습니다. 대충 이런 식으로 말이죠!
[Spring] URI Template
https://velog.io/@geesuee/Spring-URI-Template
[Spring] URI Template
네이버 1차 면접 문제/유형/난이도/준비방법 [취준쩜]
쩜의 클래스101 자기소개서 작성 강의!!!https://class101.page.link/P7NA
네이버 1차 면접 문제/유형/난이도/준비방법 [취준쩜]
https://www.youtube.com/watch?v=GamAeZOD8qc&t=21s
네이버 1차 면접 문제/유형/난이도/준비방법 [취준쩜]
자바 14에서 개선된 switch 문
[Java 14] 개선된 switch 문(Enhanced Switch Expressions)
2020년 3월에 출시된 Java 14부터 개선된 switch 문을 지원합니다. 기존 switch문은 깔끔하지 못하고 가독성도 떨어지며, break문의 누락으로 인한 오류 가능성도 크기 때문에 화살표 case 라벨, 다중 case 라벨, switch 연산식,yield 예약어 등의 기능이 추가되었습니다. 예제에서 사용하는 열거 타입은 다음과 같습니다. 열거 타입을 사용하는 이유는 마지막에 설명드리겠습니다.
[Java 14] 개선된 switch 문(Enhanced Switch Expressions)
https://congcoding.tistory.com/73
[Java 14] 개선된 switch 문(Enhanced Switch Expressions)
 
최지훈
스크럼 시간에 현웅님께서 이야기 하셨던 OSIV에 관한 내용입니다!
www.baeldung.com
https://www.baeldung.com/spring-open-session-in-view
운영체재 강의 추천
[Course] Operating System (CPA310) - 운영체제 강의
o Operating System (운영체제), CPA310, KOREATECH o Instructor: Duksu Kim (김덕수) o Course homepage: https://sites.google.com/view/hpclab/courses/operating-system 운...
[Course] Operating System (CPA310) - 운영체제 강의
https://www.youtube.com/playlist?list=PLBrGAFAIyf5rby7QylRc6JxU5lzQ9c4tN
[Course] Operating System (CPA310) - 운영체제 강의
 
최현웅
  • WebSecurityConfigureAdpter Deprecated(@EnableWebSecurity)
ko09.tistory.com
https://ko09.tistory.com/63
OAuth2 인증방식 종류들
Authorization Code Grant Type Implicit Grant Type Resource Owner Password Credentials Grant Type Client Credentials Grant Type 권한 부여 코드 승인 타입 클라이언트가 다른 사용자 대신 특정 리소스에 접근을 요청할때 사용한다. 리소스 접근을 위한 사용자명, 비밀번호, 권한 서버에 요청해서 받은 권한 코드를 함께 활용해서 리소스에 대한 엑스스 토큰을 받아 이를 인증에 사용하게 됩니다.
OAuth2 인증방식 종류들
https://rutgo-letsgo.tistory.com/123
OAuth2 인증방식 종류들
[Spring] 38. 스프링에서 URI 조립을 위한 UriComponentsBuilder
Do KY ・ 2021. 4. 25. 4:05 #20210425 #SpringFramework #스프링프레임워크 #스프링 #스프링MVC #URI ​ ​ ​ ​ ​ ​ // 1. 간단한 링크 생성 UriComponents uriComponents1 = UriComponentsBuilder.newInstance() .scheme("https").host("blog.naver.com/aservmz").path("/222313864092").build(); // https://blog.naver.com/aservmz/222313864092 // 2. URI 인코딩 UriComponents uriComponents2 = UriComponentsBuilder.newInstance() .scheme("http").host("www.example.com").path("/encodeTest test").build().encode(); // http://www.example.com/encodeTest%20test // 3.
[Spring] 38. 스프링에서 URI 조립을 위한 UriComponentsBuilder
https://blog.naver.com/PostView.naver?blogId=aservmz&logNo=222322019981&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView
[Spring] 38. 스프링에서 URI 조립을 위한 UriComponentsBuilder