Re: Re : Re : Re : basic auth on the standalone server

2009-03-06 Thread Dumindu Pallewela
On Thu, Mar 5, 2009 at 9:49 PM, Sihem stfle...@yahoo.fr wrote:
 anyway is there a way to add HTTP authentication support in the standalone
 directly in the code ?

I'm afraid, this might require quite some work in transport code. HTTP
authentication is not provided in the server. So if you want it in
simple axis server you have to implement it yourself.

Thanks,
Dumindu.


Re: Re : Re : basic auth on the standalone server

2009-03-05 Thread Dumindu Pallewela
Hi Sihem,

We don't currently support HTTP Auth with simple_axis_server. Nor do
we have any plans for that as of yet. If you need authentication
you'll have to deploy axis2/c module in apache httpd, and configure
authentication there. This is the recommended way of deploying axis2/c
server.

Our client side of course support HTTP Auth. That's where the
authentication parameters in trasportSender applies.

Thanks,
Dumindu.

On Thu, Mar 5, 2009 at 8:07 PM, Sihem stfle...@yahoo.fr wrote:
 Hello!
 finally I found some documentations about HTTP authentication which seems to
 be easy to set up. I modified the axis2.xml file as followed:
 transportSender name=http class=axis2_http_sender
     parameter name=PROTOCOL locked=falseHTTP/1.1/parameter
     parameter name=xml-declaration insert=false/
     parameter name=HTTP-Authentication username=sihem
 password=sihem locked=true/
     /transportSender

 and I use the echo_blocking_auth application (located in
 axis2c-src-1.5.0/samples/user_guide/clients)

 But the function axis2_svc_client_get_http_auth_required(svc_client, env)
 returns false which indicates that the server does not wait for credentials.
 So is there something else to configure ?
 Thanks by advance
 sihem

 
 De : Sihem stfle...@yahoo.fr
 À : Apache AXIS C User List axis-c-user@ws.apache.org
 Envoyé le : Jeudi, 5 Mars 2009, 13h17mn 15s
 Objet : Re : basic auth on the standalone server

 I finally found that I have to to change http_sender.c to add an http level
 authentication mechanism.
 is there any documentation or sample giving some explanations ?
 Thanks!
 sihem

 
 De : Sihem stfle...@yahoo.fr
 À : axis-c-user@ws.apache.org
 Envoyé le : Jeudi, 5 Mars 2009, 11h52mn 41s
 Objet : basic auth on the standalone server

 Hello!
 I would like to know whether the standalone server supports a basic HTTP
 authentication because I found nothing on the newsgroup about that.
 Thanks by advance
 sihem






Re : Re : Re : basic auth on the standalone server

2009-03-05 Thread Sihem
anyway is there a way to add HTTP authentication support in the standalone 
directly in the code ?
thanks!
sihem





De : Dumindu Pallewela pallew...@gmail.com
À : Apache AXIS C User List axis-c-user@ws.apache.org
Envoyé le : Jeudi, 5 Mars 2009, 17h01mn 01s
Objet : Re: Re : Re : basic auth on the standalone server

Hi Sihem,

We don't currently support HTTP Auth with simple_axis_server. Nor do
we have any plans for that as of yet. If you need authentication
you'll have to deploy axis2/c module in apache httpd, and configure
authentication there. This is the recommended way of deploying axis2/c
server.

Our client side of course support HTTP Auth. That's where the
authentication parameters in trasportSender applies.

Thanks,
Dumindu.

On Thu, Mar 5, 2009 at 8:07 PM, Sihem stfle...@yahoo.fr wrote:
 Hello!
 finally I found some documentations about HTTP authentication which seems to
 be easy to set up. I modified the axis2.xml file as followed:
 transportSender name=http class=axis2_http_sender
 parameter name=PROTOCOL locked=falseHTTP/1.1/parameter
 parameter name=xml-declaration insert=false/
 parameter name=HTTP-Authentication username=sihem
 password=sihem locked=true/
 /transportSender

 and I use the echo_blocking_auth application (located in
 axis2c-src-1.5.0/samples/user_guide/clients)

 But the function axis2_svc_client_get_http_auth_required(svc_client, env)
 returns false which indicates that the server does not wait for credentials.
 So is there something else to configure ?
 Thanks by advance
 sihem

 
 De : Sihem stfle...@yahoo.fr
 À : Apache AXIS C User List axis-c-user@ws.apache.org
 Envoyé le : Jeudi, 5 Mars 2009, 13h17mn 15s
 Objet : Re : basic auth on the standalone server

 I finally found that I have to to change http_sender.c to add an http level
 authentication mechanism.
 is there any documentation or sample giving some explanations ?
 Thanks!
 sihem

 
 De : Sihem stfle...@yahoo.fr
 À : axis-c-user@ws.apache.org
 Envoyé le : Jeudi, 5 Mars 2009, 11h52mn 41s
 Objet : basic auth on the standalone server

 Hello!
 I would like to know whether the standalone server supports a basic HTTP
 authentication because I found nothing on the newsgroup about that.
 Thanks by advance
 sihem