smolnar82 commented on code in PR #839:
URL: https://github.com/apache/knox/pull/839#discussion_r1476140089


##########
gateway-provider-security-jwt/src/main/java/org/apache/knox/gateway/provider/federation/jwt/filter/SSOCookieFederationFilter.java:
##########
@@ -197,7 +204,7 @@ private void sendRedirectToLoginURL(HttpServletRequest 
request, HttpServletRespo
 
   @Override
   protected void handleValidationError(HttpServletRequest request, 
HttpServletResponse response, int status, String error) throws IOException {
-    if (error != null && error.startsWith("Token") && 
error.endsWith("disabled")) {
+    if (error != null && error.startsWith("Token") && 
(error.endsWith("disabled") || error.endsWith("exceeded idle timeout"))) {

Review Comment:
   @zeroflag - Does the new PS satisfies what you asked here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to