public boolean redirectIfLoggedIn(String view) {
            if (isLoggedIn()) {
                redirectToView(Faces.getRequestAttribute(LOGOUT_PREDICATE_ATTR_NAME), view);
                return true;
            } else {
                return false;
            }
        }
manual login with timeout

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