Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7335 Certificate renewal and revocation related cleanup
  3. HDDS-8879

Cleanup SecurityConfig and related class initialization

    XMLWordPrintableJSON

Details

    Description

      In the certificate related code, we use the OzoneConfiguration loaded and the SecurityConfig created from the OzoneConfiguration in conjunction with each other.

      We should strive to have all the PKI related code to rely only on the SecurityConfig, this makes it easier to reason about what configuration options are affecting its behaviour, and helps to prevent a few misusage we already have in the code (where we do new SecurityConfig(new SecurityConfig(config).getConfiguration) like flows.

      Attachments

        Issue Links

          Activity

            People

              pifta István Fajth
              pifta István Fajth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: