Skip to content

Commit

Permalink
Merge pull request #175 from 1e5i-Shark/dev
Browse files Browse the repository at this point in the history
dev -> main
  • Loading branch information
GiHoo authored May 12, 2024
2 parents b58e937 + c4eed3d commit 8959fb2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public Message<?> preSend(Message<?> message, MessageChannel channel) {
}

private String extractToken(StompHeaderAccessor accessor) {
String authorization = accessor.getFirstNativeHeader(AUTHORIZATION_HEADER);
// String authorization = accessor.getFirstNativeHeader(AUTHORIZATION_HEADER);
String authorization = "Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0bmd1c0BuYXZlci5jb20iLCJyb2xlcyI6WyJST0xFX1VTRVIiXSwiaWF0IjoxNzEzNzU4ODUxLCJleHAiOjE3MTYzNTA4NTF9.5B7899g1Q6A99EeZVRRUHWTeZaaQ8L2SSEOqTtomeFI";
if (authorization == null) {
log.warn("토큰이 null 입니다.");
throw new IllegalArgumentException("token is null");
Expand Down

0 comments on commit 8959fb2

Please sign in to comment.