Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-5102

TextFileCertificateLoginModule support normalisation of DN property values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.37.0
    • 2.38.0
    • Configuration, JAAS
    • None

    Description

      The DN format for cert properties is an exact match string. This can lead to tricky dependency on the security provider and implementation.
      In addition if a properties file is generated from code, it needs to use a matching java tool.
      the DN string format and parsing is defined, so there is no reason we cannot parse and normalise the values, rather than just treating them as plain strings.

      the proposal is to add a normalise option, that will parse and format any DN into the local java x500Name such that it will match what is extracted from the certificate. This allows spaces and quotes and escapes to be respected (and ignored) as necessary.
      it will remove the ambiguity around DN names. However because this validation would potentially flag existing config, it is not enabled by default.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m