Post

2022-03-30-TIL

2022-03-30-TIL

Today I Learned

Spring RestTemplate Logging

RestTemplate으로 외부와 통신하는 부분에서 request body나 response body를 직접 로깅하고 싶다면 인터셉터를 추가해서 잡아서 보아야 한다.

  • https://www.baeldung.com/spring-resttemplate-logging
  • https://wildeveloperetrain.tistory.com/102

Maven

인텔리제이에서 maven 탭을 열어서 package 우클릭 > Profile … 선택 후, Run Configurations에서 우클릭 > Profile … clean package jib:build -DskipTests -f pom.xml

LDAP

Light Directory Access Protocol은 DAP의 무거운 기능을 최소화하고 필수 기능에 집중한 경량화된 DAP이다. 이는 일반적인 DB보다 유연성 있는 쿼리를 제공함으로써 특정 검색에 대한 성능이 빠르다.

  • https://hec-ker.tistory.com/319
  • https://ldap.or.kr/ldap-%EC%9D%B4%EB%9E%80/
  • https://always-kimkim.tistory.com/entry/X500%EA%B3%BC-LDAP-%EC%A0%95%EB%A6%AC
  • https://velog.io/@kante/LDAP-%EC%9D%B4%EB%9E%80
  • https://yongho1037.tistory.com/796
  • https://catsbi.oopy.io/c0a4f395-24b2-44e5-8eeb-275d19e2a536

Spring Container

  • https://taes-k.github.io/2021/05/23/spring-di-reflection/

생성자 주입 vs @Autowired

  • https://madplay.github.io/post/why-constructor-injection-is-better-than-field-injection

서블릿 필터

  • https://12teamtoday.tistory.com/141

Spring Security

  • https://docs.spring.io/spring-security/reference/getting-spring-security.html
  • https://devuna.tistory.com/59
  • https://www.baeldung.com/spring-security-method-security
  • https://spring.io/guides/gs/securing-web/
  • https://imbf.github.io/spring/2020/06/29/Spring-Security-with-JWT.html

JWT Classes

  • https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/oauth2/jwt/Jwt.html

@Configuration

  • https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Configuration.html
  • https://castleone.tistory.com/2
  • https://mangkyu.tistory.com/75

@EnableWebSecurity

  • https://docs.spring.io/spring-security/site/docs/4.0.x/apidocs/org/springframework/security/config/annotation/web/configuration/EnableWebSecurity.html

@EnableGlobalMethodSecurity

  • https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/config/annotation/method/configuration/EnableGlobalMethodSecurity.html

@Secured

  • https://docs.spring.io/spring-security/site/docs/3.2.8.RELEASE/apidocs/org/springframework/security/access/annotation/Secured.html
  • https://copycoding.tistory.com/278

@CSRF

  • https://velog.io/@woohobi/Spring-security-csrf%EB%9E%80

@Order

  • https://www.baeldung.com/spring-order
  • https://unhosted.tistory.com/79
This post is licensed under CC BY 4.0 by the author.