Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3395

HstSiteConfigServlet check repository running fails if config property check.repositories.running = true

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 3.2.0
    • None

    Description

      The problem is this code:

      String repositoryParamPrefix = propName.substring(0, propName.length() - REPOSITORY_ADDRESS_PARAM_SUFFIX.length());
      String repositoryUsername = this.configuration.getString(repositoryParamPrefix + ".repository.user.name");
      String repositoryPassword = this.configuration.getString(repositoryParamPrefix + ".repository.password");

      This does not take the jvm credentials which are typically used into account.

      Perhaps we could instead of trying to login a session also just check for some HippoServiceRegistry service that is available (and gets bootstrapped by the repository)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: