Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/environment/104_ci.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ spring.redis.host=localhost

#ELK logging file name
[email protected]_API_LOGGING_FILE_NAME@
[email protected]_SECRET_KEY@
[email protected]_SECRET_KEY@
[email protected]_DOC_ENABLED@
[email protected]_DOC_ENABLED@
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ public void doFilter(ServletRequest servletRequest, ServletResponse servletRespo

// Skip login and public endpoints
if (path.equals(contextPath + "/user/userAuthenticate") ||
path.equalsIgnoreCase(contextPath + "/user/logOutUserFromConcurrentSession") ||
path.startsWith(contextPath + "/public")) {
path.equalsIgnoreCase(contextPath + "/user/logOutUserFromConcurrentSession")
|| path.startsWith(contextPath + "/swagger-ui")
|| path.startsWith(contextPath + "/v3/api-docs")
|| path.startsWith(contextPath + "/user/refreshToken")
|| path.startsWith(contextPath + "/public")) {
logger.info("Skipping filter for path: " + path);
filterChain.doFilter(servletRequest, servletResponse);
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public boolean preHandle(HttpServletRequest request, HttpServletResponse respons
case "userAuthenticate", "userAuthenticateNew", "userAuthenticateV1",
"forgetPassword", "setForgetPassword", "changePassword",
"saveUserSecurityQuesAns", "swagger-ui.html",
"ui", "swagger-resources", "api-docs":
"ui", "swagger-resources", "api-docs","index.html","swagger-initializer.js","swagger-config":
break;
case "error":
status = false;
Expand Down
Loading