JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-6026

Basic authentication not working with valid configuration of a jaxws-service

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 3.2.1
  • Fix Version/s: 3.3.0
  • Component/s: Modules: CXF, Modules: Security (Spring Security, Acegi, PGP, WS-Security)
  • Labels:
    None
  • User impact:
    Medium
  • Affects Docs:
    Yes
  • Similar Issues:
    None

Description

I found that basic authentication only works if the cxf:jaxws-service is outside the inbound-endpoint in the flow.

For clarity, this flow does not allow basic auth to work correctly:

<flow name="test_service"> 
                <http:inbound-endpoint address="http://localhost:8091/services/TestService" 
                        exchange-pattern="request-response"> 
                        <mule-ss:http-security-filter realm="mule-realm" /> 
                        <cxf:jaxws-service serviceClass="some.test.service.ServicePortImpl" /> 
                </http:inbound-endpoint> 
                <log-component /> 
        </flow>

but this works:

<flow name="test_service"> 
                <http:inbound-endpoint address="http://localhost:8091/services/TestService" 
                        exchange-pattern="request-response"> 
                        <mule-ss:http-security-filter realm="mule-realm" /> 
                </http:inbound-endpoint> 
                <cxf:jaxws-service serviceClass="some.test.service.ServicePortImpl" /> 
                <log-component /> 
        </flow>

Also, for reference, this is the documentation that shows putting it inside the http inbound endpoint (which doesn't work):

http://www.mulesoft.org/documentation/display/MULE3USER/Building+Web+Services+with+CXF

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MULE-6160 CXF Message processors configuration inconsistence

  • Critical - Crashes, loss of data, severe memory leak.
  • In Progress - This issue is being actively worked on at the moment by the assignee.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Daniel Feist added a comment - 19/Jan/12 11:08 AM - edited

Eva,
Is this a documentation issue or a bug do you think?

Show
Daniel Feist added a comment - 19/Jan/12 11:08 AM - edited Eva, Is this a documentation issue or a bug do you think?
Hide
Permalink
Evangelina Martinez Ruiz Moreno added a comment - 19/Jan/12 11:18 AM

It looks like a bug, where to place the CXF MP is not clear, and for some cases it works in one way and not the other. So it goes beyond the documentation and needs further analysis work.

Show
Evangelina Martinez Ruiz Moreno added a comment - 19/Jan/12 11:18 AM It looks like a bug, where to place the CXF MP is not clear, and for some cases it works in one way and not the other. So it goes beyond the documentation and needs further analysis work.
Hide
Permalink
Evangelina Martinez Ruiz Moreno added a comment - 11/Apr/12 08:19 AM

This issue is a caused by a documentation consistency problem and is handled by MULE-6160

Show
Evangelina Martinez Ruiz Moreno added a comment - 11/Apr/12 08:19 AM This issue is a caused by a documentation consistency problem and is handled by MULE-6160

People

  • Assignee:
    Evangelina Martinez Ruiz Moreno
    Reporter:
    Robert Voliva
Vote (2)
Watch (0)

Dates

  • Created:
    18/Jan/12 10:28 AM
    Updated:
    11/Apr/12 08:20 AM
    Resolved:
    11/Apr/12 08:20 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.