일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 코드워즈
- @Value
- Boot
- 프로퍼티
- response
- JWT
- Codewars
- Security
- property
- 파라미터
- @RequestBody
- 코딩테스트
- redis
- Request
- 디자인 패턴
- enum
- ResponseDto
- 플라이웨이트
- RequestBody
- DTO
- Spring
- yml
- 로그인
- 반환
- actuator
- RequestParam
- Docker
- @RequestParam
- springboot
- 헬스체크
- Today
- Total
목록Security (2)
있을 유, 참 진

JWT Filter 생성 - JwtSecurityConfig Spring Security 공통 에러처리 - JwtAccessDeniedHandler - JwtAuthenticationEntryPoint WebSecurity에 값 설정 JWT Filter 생성 💡 JWT 토큰을 활용해 Security에서 인가를 처리하는 필터를 생성, 차후 `UsernamePasswordAuthenticationFilter` 전에 들어가 JWT의 정보를 통해 유저의 인가를 처리한다. @Slf4j @RequiredArgsConstructor public class JwtFilter extends GenericFilter { //헤더에서 받아올 이름 지정 public static final String AUTHORIZATION..

회원가입 DTO Controller 및 SecurityConfig 설정 - Controller - SecurityConfig UserService 테스트 결과 회원가입 DTO @Getter @NoArgsConstructor @AllArgsConstructor public class UserDto { @NotNull @Size(min = 3, max = 50) private String userName; @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) @NotNull @Size(min = 3, max = 50) private String password; @NotNull @Size(min = 3, max = 50) private String nickName..