You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -98,7 +99,7 @@ class JwtAuthenticationFilter: OncePerRequestFilter(), HasLogger
98
99
}
99
100
elseif (authenticator.isInHybridMode())
100
101
{
101
-
LOG.trace("Allowing request through for lower layer to check as authentication is set to [{}].", RestrictionMode.NONE)
102
+
LOG.trace("Allowing request through for lower layer to check as authentication is set to [{}].", RestrictionMode.HYBRID)
102
103
filterChain.doFilter(request, response)
103
104
}
104
105
elseif (authenticator.isInRestrictedMode())
@@ -110,13 +111,19 @@ class JwtAuthenticationFilter: OncePerRequestFilter(), HasLogger
110
111
}
111
112
else
112
113
{
113
-
val token =if (subQueue.isPresent) subQueue.get() else"null"
114
+
val token = subQueue.getOrElse{ "null" }
114
115
LOG.error("Failed to manipulate sub-queue [{}] with provided token as the authentication level is set to [{}].", token, authenticator.getRestrictionMode())
0 commit comments