Bug 991136 - SOA-P 5.3.1 needs to support SOAP 1.2 Authentication
Summary: SOA-P 5.3.1 needs to support SOAP 1.2 Authentication
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB
Version: 5.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: CONTINUING
Assignee: tcunning
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 991461 991463
TreeView+ depends on / blocked
 
Reported: 2013-08-01 17:16 UTC by tcunning
Modified: 2018-12-02 15:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 991461 (view as bug list)
Environment:
Last Closed: 2013-08-02 18:26:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBESB-3946 0 Major Closed SOA-P 5.3.1 needs to support SOAP 1.2 Authentication 2013-10-01 07:50:43 UTC

Description tcunning 2013-08-01 17:16:25 UTC
Description of problem:

From case : 

We want to use SOAP 1.2 with JBoss ESB, but some of the classes are not compatible implemented.
In "SoapExtractionUtil" hard coded QNames are used!

Code snippet:
public static boolean isStartOfHeader(final XMLEvent event)
    {
        return event.isStartElement() && ((StartElement)event).getName().equals(SOAP_HEADER_QNAME);
    }

When this is used by the "UsernameTokenExtractor", in the method "extractSecurityInfo" and the security is no longer useable when using SOAP 1.2!!!

Code snippet:
public AuthenticationRequest extractSecurityInfo(final String soap)
                throws ExtractionException {
            if (soap == null || !soap.startsWith("<"))
                return null;

            XMLEventReader xmlReader = null;
            User user = null;
            Set<Object> credentials = new HashSet<Object>();
            try {
                xmlReader = XML_INPUT_FACTORY
                       .createXMLEventReader(new StringReader(soap));

                while (xmlReader.hasNext()) {
                    XMLEvent xmlEvent = xmlReader.nextEvent();
                    if (isStartOfHeader(xmlEvent)) {

We need to support "SOAP 1.2" to communicate with customers.

Comment 1 Rick Wagner 2013-08-02 18:26:03 UTC
Closing this BZ, we can fix 5.3.1 with the next Roll up via BZ991461.

Comment 2 JBoss JIRA Server 2013-09-03 17:01:52 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3946 to Resolved

Comment 3 JBoss JIRA Server 2013-09-03 17:01:58 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3946 to Closed


Note You need to log in before you can comment on or make changes to this bug.