Petals BC SOAP

WS-Security : rampart versions uncompatible

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Won't Fix
  • Affects Version/s: 4.0
  • Fix Version/s: 4.4.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    Most wss SUs require to provide a CallbackHandler, that generally makes use of org.apache.ws.security.WSPasswordCallback .

    In rampart 1.4, org.apache.ws.security.WSPasswordCallback contains a stupid bug:
    the getIdentifier() method was misspelled, and called getIdentifer() instead - a letter is missing in the name (sic).

    This has been fixed in rampart 1.6 (maybe 1.5 as well ?), so CallbackHandlers that come from rampart1.6 cause a "java.lang.NoSuchMethodError: org.apache.ws.security.WSPasswordCallback.getIdentifier()" exception when deployed in Petals !

    Show
    Most wss SUs require to provide a CallbackHandler, that generally makes use of org.apache.ws.security.WSPasswordCallback . In rampart 1.4, org.apache.ws.security.WSPasswordCallback contains a stupid bug: the getIdentifier() method was misspelled, and called getIdentifer() instead - a letter is missing in the name (sic). This has been fixed in rampart 1.6 (maybe 1.5 as well ?), so CallbackHandlers that come from rampart1.6 cause a "java.lang.NoSuchMethodError: org.apache.ws.security.WSPasswordCallback.getIdentifier()" exception when deployed in Petals !
  • Environment:
    Petals 3.1.1

Activity

Hide
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 14:56:29 +0200

You must adapt your SUs when upgrading your component. We try to change the interface between the component and the SU, but sometimes it's needed.

The version 4.5.0 embeds Rampart 1.6 in which the API is fixed.

Show
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 14:56:29 +0200 You must adapt your SUs when upgrading your component. We try to change the interface between the component and the SU, but sometimes it's needed. The version 4.5.0 embeds Rampart 1.6 in which the API is fixed.

People

Dates

  • Created:
    Tue, 12 Jul 2011 - 17:21:05 +0200
    Updated:
    Mon, 5 Oct 2015 - 14:56:29 +0200
    Resolved:
    Mon, 5 Oct 2015 - 14:56:29 +0200