That's not right. The consumer endpoint has to set just
authMethod="BASIC". The username and password is provided from
conf/users-credentials.properties  and conf/users-passwords.properties

What you have with basicAuthentication has to be in the provider endpoint.

If I remember correctly.

Cheers,
Thomas


wolf10 wrote:
> Yes sure. The full endpoint configuration is:
> 
> <beans xmlns:http="http://servicemix.apache.org/http/1.0";
>        xmlns:to="http://www.test.net/test";>
> 
>   <http:endpoint service="to:httptest"
>                  endpoint="endpointSOAP"
>                  role="consumer" 
>                  locationURI="http://0.0.0.0:8191/Test/";
>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
>                  soap="true" 
>                  soapAction="doIt">
>      <http:basicAuthentication>
>         <http:basicAuthCredentials username="testuser" password="testpass"
> />
>      </http:basicAuthentication>
>   </http:endpoint>
> 
> </beans>
> 
> 
> Wolfgang
> 
> 
> 
> tterm wrote:
> 
>>Could you please give some more information? For example the complete
>>endpoint.
>>
>>Cheers,
>>Thomas
>>
>>wolf10 wrote:
>>
>>>I am trying to set up basic authentication in service-http as described
>>>on
>>>the web page, but it does not work. The http endpoint remains
>>>unprotected.
>>>
>>>I just added:
>>>
>>>    <http:basicAuthentication>
>>>        <http:basicAuthCredentials username="testuser"
>>>password="testpass"
>>>/>
>>>     </http:basicAuthentication>
>>> 
>>>to the endpoint configuration. Did I forget something?
>>>
>>>Wolfgang 
>>
>>
>>-- 
>>Thomas Termin
>>_______________________________
>>blue elephant systems GmbH
>>Wollgrasweg 49
>>D-70599 Stuttgart
>>
>>Tel    :  (+49) 0711 - 45 10 17 676
>>Fax    :  (+49) 0711 - 45 10 17 573
>>WWW    :  http://www.blue-elephant-systems.com
>>Email  :  [EMAIL PROTECTED]
>>
>>blue elephant systems GmbH
>>Firmensitz      : Wollgrasweg 49, D-70599 Stuttgart
>>Registergericht : Amtsgericht Stuttgart, HRB 24106
>>Geschäftsführer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle
>>
>>
>>
> 
> 


-- 
Thomas Termin
_______________________________
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel    :  (+49) 0711 - 45 10 17 676
Fax    :  (+49) 0711 - 45 10 17 573
WWW    :  http://www.blue-elephant-systems.com
Email  :  [EMAIL PROTECTED]

blue elephant systems GmbH
Firmensitz      : Wollgrasweg 49, D-70599 Stuttgart
Registergericht : Amtsgericht Stuttgart, HRB 24106
Geschäftsführer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle

Reply via email to