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

Loading of Signature and Encryption property files not trimming trailing whitespace - Leads to ClassNotFoundException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.8
    • Fix Version/s: 1.5.9, 1.6
    • Component/s: WSS4J Core
    • Labels:
      None

      Description

      I was getting a "org.apache.ws.security.components.crypto.Merlin Not Found" error while trying to configure the WSS4J interceptors. I found a post with no resolution here:

      http://mail-archives.apache.org/mod_mbox//cxf-users/201003.mbox/%3C27766194.post@talk.nabble.com%3E

      I think what this user was experiencing is the same as I was seeing in my case.

      It turned out that I had a trailing space after:

      org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin

      which was causing the class to not be found.

        Attachments

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              zackdjones Zack Jones
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: