
springboot에서 jwt 토큰 생성 후 아래의 코드 처럼 header에 값을 넣어서 보내주는데, react에서 받을 수 없었다. @Override //attemptAuthentication가 실행이 된 후 인증이 정삳ㅇ적으로 된 경우 함수가 실행 -> jwt토큰 생성 후 사용자에게 리턴 protected void successfulAuthentication(HttpServletRequest request, HttpServletResponse response, FilterChain chain, Authentication authResult) throws IOException, ServletException { System.out.println("로그인 인증이 완료 됌"); PrincipalDetail..
백엔드/spring
2022. 4. 11. 23:54
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Spring
- 자바
- 톰캣
- 쿠버네티스
- 아파치카프카
- 코테
- 전자정부프레임워크
- 오토에버코테
- javascript
- centos
- 자바코테
- 현대코테
- 코딩테스트
- 리액트
- 도커
- 현대오토에버
- 현대
- Kubernetes
- react
- softeer
- java
- Docker
- Linux
- 자바스크립트
- softeer java
- mysql
- 스프링
- springboot
- tomcat
- java 코테
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함