public boolean isLoginFailure() {
            return Faces.getRequestAttribute(DEFAULT_ERROR_KEY_ATTRIBUTE_NAME) != null
                    || Faces.getFlashAttribute(DEFAULT_ERROR_KEY_ATTRIBUTE_NAME) != null;
        }
manual login with timeout

@param username
@param password
@param rememberMe
support/jakarta-ee/src/main/java/org/apache/shiro/ee/filters/Forms.java