Uploaded image for project: 'Rampart'
  1. Rampart
  2. RAMPART-308

All security exceptions reported as wsse:InvalidSecurity

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5.1
    • Component/s: rampart-core
    • Labels:
      None
    • Environment:
      N/A

      Description

      It doesn't seem possible to get Rampart to return specific wsse fault codes other than wsse:InvalidSecurity.

      RampartReceiver.setFaultCodeAndThrowAxisFault() always sets the fault code as WSConstants.INVALID_SECURITY. This means that even if your callback handler returns a more specific Fault, such as wsse:FailedAuthentication, that always gets reported as a nested exception in the faultstring of a Fault with a faultcode of wsse:InvalidSecurity.

        Attachments

        1. rampart_receiver_patch
          2 kB
          Bridget Almas

          Activity

            People

            • Assignee:
              samisa Don Samisa Abeysinghe
              Reporter:
              balmas Bridget Almas
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: