You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Th Templ <te...@hotmail.com> on 2002/11/15 12:35:14 UTC

Authentification & session

Hello,

I try to make an authentification of an client of my webservice ( developped 
with Axis ) whatever the client ( axis or other ).
I want too to keep information about the authenticated client for an other 
request that he will make later ( check the client is authenticated and have 
rights to do a task ).
How can I do that? Where can I find documentations or tutorials about it?
Thanks for your help
Templth


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


Re: Authentification & session

Posted by Matthias Brunner <mb...@blumenstrasse.vol.at>.
On Friday 15 November 2002 12:35, Th Templ wrote:
> I try to make an authentification of an client of my webservice (
> developped with Axis ) whatever the client ( axis or other ).
> I want too to keep information about the authenticated client for
> an other request that he will make later ( check the client is
> authenticated and have rights to do a task ).
> How can I do that? Where can I find documentations or tutorials
> about it? Thanks for your help
> Templth

If you use HTTP as the transport protocol it is maybe the easiest way 
to do this task in the container (e.g. tomcat) and use HTTP 
authentication. 
Just protect the URL(s) of your service(s):
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html

So you don't have to write any additional code in your service.
-- 
Matthias Brunner <mb...@blumenstrasse.vol.at>
PGP FP 7862 32B3 3B75 292A F76F  5042 8587 21AB 5B89 D501
Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc