code: @Override
      public void checkLoginRequired(LoginHandlingResource resource) throws LoginRequiredException {
          if (isLoginRequiredAction(resource)) {
              asLoginRequired(resource);
          } else {
              asNonLoginRequired(resource);
          }
      }
docs: -------------