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

NPE when Shiro is misconfigured

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • Server
    • None

    Description

      When Shiro provider is used if the user doesn't enable authentication or
      enables anonymous authentication then Knox will hit an NPE because it
      assumes the Shiro Subject is populated. This commit adds a check and
      adds a specific error message which indicates that there is a problem and
      what configuration to check

      Attachments

        1. KNOX-966.patch
          1 kB
          Rob Vesse

        Activity

          People

            rvesse Rob Vesse
            rvesse Rob Vesse
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: