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

AnonymousAuthFilter is not added when authentication=Anonymous in service

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Server
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: