토큰발급URL 예외처리 수정(/mapi/oauth2/token)
This commit is contained in:
@@ -50,10 +50,10 @@ public class ApiAdapterController implements HttpAdapterServiceKey {
|
|||||||
ApiAdapterService service;
|
ApiAdapterService service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* KBANK 요구사항으로 /api/v1/oauth/token 과 같은 형태로 토큰 발급거래를 수행해야해서 예외처리함
|
* KJBANK 요구사항으로 /mapi/oauth2/token 과 같은 형태로 토큰 발급거래를 수행해야해서 예외처리함
|
||||||
* @See com.eactive.eai.authserver.config.AuthorizationServerConfig.configure(AuthorizationServerEndpointsConfigurer endpoints)
|
* @See com.eactive.eai.authserver.config.AuthorizationServerConfig.configure(AuthorizationServerEndpointsConfigurer endpoints)
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = {"/api/*", "/mapi/*", "/api/*/{path:^(?!.*oauth).*$}/**", "/mapi/*/{path:^(?!.*oauth).*$}/**"})
|
@RequestMapping(value = {"/api/*", "/mapi/*", "/api/*/{path:^(?!.*oauth).*$}/**", "/mapi/{path:^(?!.*oauth2).*$}/**"})
|
||||||
// @RequestMapping(value = {"/api/**"})
|
// @RequestMapping(value = {"/api/**"})
|
||||||
public ResponseEntity<String> callApi(HttpServletRequest servletRequest, HttpServletResponse servletResponse) throws Exception {
|
public ResponseEntity<String> callApi(HttpServletRequest servletRequest, HttpServletResponse servletResponse) throws Exception {
|
||||||
// /ONLWeb/api/v1/public/getUserInfo.svc
|
// /ONLWeb/api/v1/public/getUserInfo.svc
|
||||||
|
|||||||
Reference in New Issue
Block a user