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

AnonymousAuthFilter is not added when authentication=Anonymous in service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • Server
    • None

    Description

      In the service definition xml, when

      <policy role="authentication" name="Anonymous"/>

      is defined, AnonymousAuthFilter should be added to the filter chain, this causes NPE in cases where authorization plugin like XASecurePDPKnox is expecting anonymous subject.

      This only happens when there is no "authentication" provider in the topology.

       

      Attachments

        1. KNOX-1197.001.patch
          9 kB
          Sandeep More

        Activity

          People

            smore Sandeep More
            smore Sandeep More
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: