public boolean preHandle(ServletRequest request, ServletResponse response) throws Exception {
        request.setAttribute(LOGIN_PREDICATE_ATTR_NAME, loginFallbackType);
        request.setAttribute(LOGIN_WAITTIME_ATTR_NAME, loginFailedWaitTime);
        request.setAttribute(LOGOUT_PREDICATE_ATTR_NAME, logoutFallbackType);
        if (isServletNoPrincipal(request.getServletContext())) {
            request.setAttribute(SHIRO_WEB_JAXRS_DISABLE_PRINCIPAL_PARAM, Boolean.TRUE);
        }
        try {
            request.setAttribute(LOGIN_URL_ATTR_NAME, methods.getLoginUrl());
        } catch (UnsupportedOperationException e) {
            // LogoutFilter does not support this, safely ignore
        }
        return methods.preHandle(request, response);
    }
number of seconds to sleep if authentication fails
support/jakarta-ee/src/main/java/org/apache/shiro/ee/filters/AuthenticationFilterDelegate.java