Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2
  • Fix Version/s: 2.0.0-M1
  • Component/s: Modules: CXF
  • Labels:
    None
  • Similar Issues:
    None

Description

> The current version of Mule does not seems supported
> GLUE services which required authentication with
> username and password.
>
> For example,I would have expected by using the
> following URI
>
glue:http://myUserName:myPassword@localhost:8005/glue/authenticateService.
> wsdl?method=authenticate
>
> that the username and password would be used to define
> the credential for an authenticating server .
>
> After digging a little bite in the code ,I found out
> that the
> following code should be added in
> GlueMessageDispatcher.java
>
> if (event.getCredentials()!=null)
> { > ProxyContext context = new ProxyContext(); > > context.setAuthUser(event.getCredentials().getUsername()); > context.setAuthPassword(new > String(event.getCredentials().getPassword())); > proxy = Registry.bind(bindAddress,context); > }
> else proxy = Registry.bind(bindAddress);
>
> I created a test-case and the above code does fix the
> issue.

Activity

Hide
Ross Mason added a comment -

Hi,
This is fixed i the latest build: http://mule.codehuas.org/Download

Show
Ross Mason added a comment - Hi, This is fixed i the latest build: http://mule.codehuas.org/Download

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: