From f671c32fc09c482709fbd0cd2691cdf6283b6746 Mon Sep 17 00:00:00 2001 From: "Yunsam.Eo" Date: Fri, 5 Dec 2025 14:22:30 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BCG/W=EC=9A=A9=20JWT?= =?UTF-8?q?=20Token=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eai/authserver/config/AuthorizationServerConfig.java | 2 +- .../eai/authserver/config/OAuthRequestLoggingFilter.java | 2 +- .../com/eactive/eai/authserver/config/RequestContextData.java | 2 +- .../eai/authserver/custom/KjbMGOAuth2AccessTokenRequest.java | 2 +- .../eai/authserver/custom/KjbMGOAuth2AccessTokenResponse.java | 2 +- .../eactive/eai/authserver/custom/KjbMGOAuth2Controller.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/eactive/eai/authserver/config/AuthorizationServerConfig.java b/src/main/java/com/eactive/eai/authserver/config/AuthorizationServerConfig.java index 7a36d55..9bd1734 100644 --- a/src/main/java/com/eactive/eai/authserver/config/AuthorizationServerConfig.java +++ b/src/main/java/com/eactive/eai/authserver/config/AuthorizationServerConfig.java @@ -104,7 +104,7 @@ public class AuthorizationServerConfig extends AuthorizationServerConfigurerAdap tokenType = vo.getProperty(PROP_TOKEN_TYPE, "JWT"); } -// endpoints.pathMapping("/oauth/token", "/auth/oauth/v2/token"); +// endpoints.pathMapping("/oauth/token", "/auth/oauth/v2/token") ; endpoints.authenticationManager(authenticationManager); endpoints.userDetailsService(userDetailsService); diff --git a/src/main/java/com/eactive/eai/authserver/config/OAuthRequestLoggingFilter.java b/src/main/java/com/eactive/eai/authserver/config/OAuthRequestLoggingFilter.java index 9ca3fd4..efb0f18 100644 --- a/src/main/java/com/eactive/eai/authserver/config/OAuthRequestLoggingFilter.java +++ b/src/main/java/com/eactive/eai/authserver/config/OAuthRequestLoggingFilter.java @@ -13,7 +13,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Collection; -public class OAuthRequestLoggingFilter extends OncePerRequestFilter { +public class OAuthRequestLoggingFilter extends OncePerRequestFilter { @Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) diff --git a/src/main/java/com/eactive/eai/authserver/config/RequestContextData.java b/src/main/java/com/eactive/eai/authserver/config/RequestContextData.java index a3b43cb..20a261a 100644 --- a/src/main/java/com/eactive/eai/authserver/config/RequestContextData.java +++ b/src/main/java/com/eactive/eai/authserver/config/RequestContextData.java @@ -3,7 +3,7 @@ package com.eactive.eai.authserver.config; import lombok.Data; @Data -public class RequestContextData { +public class RequestContextData { private String clientId; private String ipAddress; private String grantType; diff --git a/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2AccessTokenRequest.java b/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2AccessTokenRequest.java index a0dac48..dcd880b 100644 --- a/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2AccessTokenRequest.java +++ b/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2AccessTokenRequest.java @@ -5,7 +5,7 @@ import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonProperty; @SuppressWarnings("serial") -public class KjbMGOAuth2AccessTokenRequest implements Serializable { +public class KjbMGOAuth2AccessTokenRequest implements Serializable { @JsonProperty("grant_type") private String grantType; @JsonProperty("client_id") diff --git a/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2AccessTokenResponse.java b/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2AccessTokenResponse.java index 9c039f7..b99ffe1 100644 --- a/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2AccessTokenResponse.java +++ b/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2AccessTokenResponse.java @@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; @SuppressWarnings("serial") @JsonInclude(Include.NON_NULL) -public class KjbMGOAuth2AccessTokenResponse implements Serializable { +public class KjbMGOAuth2AccessTokenResponse implements Serializable { private String responseCode; private String responseMessage; @JsonProperty("access_token") diff --git a/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java b/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java index 6124580..f08be14 100644 --- a/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java +++ b/src/main/java/com/eactive/eai/authserver/custom/KjbMGOAuth2Controller.java @@ -52,7 +52,7 @@ import com.eactive.eai.common.util.UUID; import com.eactive.eai.data.entity.onl.authserver.TokenIssuanceLog; @Controller -public class KjbMGOAuth2Controller { +public class KjbMGOAuth2Controller { public static Logger logger = Logger.getLogger(Logger.LOGGER_DEFAULT); private static final String HEADER_TRACEID = "traceId";