code: protected void asNonLoginRequired(LoginHandlingResource resource) throws LoginRequiredException {
          if (!isSuppressRememberMeOfNonLoginRequired(resource)) { // option just in case
              logger.debug("...Checking login status for non login required");
              if (tryAlreadyLoginOrRememberMe(resource)) {
                  checkPermission(resource); // throws if denied
                  return; // Good
              }
          }
          if (isLoginRedirectBeanKeptAction(resource)) {
              // keep login-redirect path in session
              logger.debug("...Passing login check as login action (or redirect-kept action)");
          } else {
              clearLoginRedirectBean();
              logger.debug("...Passing login check as non login required");
          }
      }
docs: Check as the non login required action.
  @param resource The resource of login handling to determine. (NotNull)
  @throws LoginRequiredException When it fails to access the action for login authority.