Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25244

Log an error when clustering is enabled but the authentication keys are not configured

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 18.9.0-rc-1
    • 18.8.0
    • Authentication
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      When xwiki.authentication.validationKey / encryptionKey are not set in xwiki.cfg, each node generates its own keys in its permanent directory. In a cluster this logs users out at every node switch, with nothing in the logs explaining why.

      Proposal: when observation.remote.enabled is true and a key had to be generated, log an ERROR at startup naming the two keys to set.

      Attachments

        Issue Links

          Activity

            People

              ciaens Clément Christiaens
              ciaens Clément Christiaens
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: