Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2464

Make sure Knox CLI uses gateway-site.xml values in ConfigurableEncryptor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      There is a bug in org.apache.knox.gateway.services.security.impl.CLIMasterService which results in the underlying encryptor object being non-initialized. This is because we call the wrong method in the parent class in the init method: the one, without the Configuration parameter.

      The fix is easy: call the correct org.apache.knox.gateway.services.security.impl.CLIMasterService method. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                smolnar Sandor Molnar
                Reporter:
                smolnar Sandor Molnar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: