You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by pratibhaG <pr...@in2m.com> on 2008/07/25 11:14:29 UTC
How to handle authentication authorization error?
I am using a http consumer to accept request. I have set authMethod to BASIC.
If authentication or authorization fails the whole stack trace goes to
client.
How can I send a custom message like <error>auth failure <error> to client?
Please help.
Pratibha
--
View this message in context: http://www.nabble.com/How-to-handle-authentication-authorization-error--tp18648096p18648096.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: How to handle authentication authorization error?
Posted by Gert Vanthienen <ge...@skynet.be>.
Pratibha,
If you using the <http:consumer/> endpoint, you can write your own
HttpConsumerMarshaler to fine-tune the message that is going back to the
client.
Regards,
Gert
pratibhaG wrote:
> I am using a http consumer to accept request. I have set authMethod to BASIC.
> If authentication or authorization fails the whole stack trace goes to
> client.
> How can I send a custom message like <error>auth failure <error> to client?
>
> Please help.
>
> Pratibha
>