Uploaded image for project: 'WSS4J'
  1. WSS4J
  2. WSS-580

ThreadLocalSecurityProvider returns null instead of empty collection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0, 2.0.8, 2.1.6
    • None
    • None
    • Patch

    Description

      in org.apache.wss4j.common.crypto.ThreadLocalSecurityProvider
      is violated the rule
      "return empty arrays or collections, not nulls" as a result crash NPE in
      org.apache.wicket.extensions.markup.html.captcha.CaptchaImageResource#detectBestFittingService()

      for (Provider.Service service : provider.getServices()) {
      ...
      }

      Attachments

        1. site.patch
          0.6 kB
          Domislavskiy Michael

        Activity

          People

            coheigea Colm O hEigeartaigh
            mmihaylovich Domislavskiy Michael
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: