You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by wende long <we...@gmail.com> on 2007/08/30 21:17:02 UTC
Sandesha2 1.2 HTTP basic authentication problems.
I am using Sandesha2 1.2 + Axis2 1.2 + Rampart 1.2 for reliable messaging.
Set the basic authentication paramater with the following code:
HttpTransportProperties.Authenticator authenticator = new
HttpTransportProperties.Authenticator();
authenticator.setRealm(HttpTransportProperties.Authenticator.BASIC);
authenticator.setUsername(rr.getAuthUser());
authenticator.setPassword(rr.getAuthPassword());
authenticator.setPreemptiveAuthentication(true);
Saw the "Authorization" header created if Sandesha2 module was not engaged.
If Sandesha2 was used for reliable messaging, I Noticed that the
"CreateSequence" request does not have any "Authorization" header at all.
Is this a bug fixed in coming 1.3 release?
--
View this message in context: http://www.nabble.com/Sandesha2-1.2-HTTP-basic-authentication-problems.-tf4356354.html#a12414230
Sent from the Apache Sandesha mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org
Re: Sandesha2 1.2 HTTP basic authentication problems.
Posted by Chamikara Jayalath <ch...@gmail.com>.
Hi Wende,
Could you please raise a JIRA for this.
Chamikara
On 8/30/07, wende long <we...@gmail.com> wrote:
>
>
> I am using Sandesha2 1.2 + Axis2 1.2 + Rampart 1.2 for reliable messaging.
> Set the basic authentication paramater with the following code:
> HttpTransportProperties.Authenticator authenticator = new
> HttpTransportProperties.Authenticator();
> authenticator.setRealm(HttpTransportProperties.Authenticator.BASIC
> );
> authenticator.setUsername(rr.getAuthUser());
> authenticator.setPassword(rr.getAuthPassword());
> authenticator.setPreemptiveAuthentication(true);
>
>
> Saw the "Authorization" header created if Sandesha2 module was not
> engaged.
> If Sandesha2 was used for reliable messaging, I Noticed that the
> "CreateSequence" request does not have any "Authorization" header at all.
>
> Is this a bug fixed in coming 1.3 release?
>
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Sandesha2-1.2-HTTP-basic-authentication-problems.-tf4356354.html#a12414230
> Sent from the Apache Sandesha mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: sandesha-dev-help@ws.apache.org
>
>
--
Chamikara Jayalath
WSO2 Inc.
http://wso2.com/
http://wso2.org/ - For your Oxygen needs