wood burning stoves 2.0*
The moose likes Web Services and the fly likes Basic authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Basic authentication" Watch "Basic authentication" New topic
Author

Basic authentication

sai maddikay
Greenhorn

Joined: Jul 03, 2006
Posts: 14
Hello

I am new to webservices and have managed to run a simple Converter webservice successfully using examples (top down and bottom up)from eclipse.org http://www.eclipse.org/resources - my next step is to use a basic authentication mechanism to the Converter service.

can anyone please point me to any example links where I can get some information on how to implement basic authentication...

any help is greatly appreciated.
Sai
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
If I may be allowed to strut my own stuff, I wrote two articles on WS authentication, covering both HTTP auth and WS-Security auth: part 1, part 2. They use Axis as the SOAP engine of choice, but the principles can be applied to other servers.


Ping & DNS - my free Android networking tools app
sai maddikay
Greenhorn

Joined: Jul 03, 2006
Posts: 14
I was able do a basic authentication with the help of the article..thanks Ulf. My next step is to go on with SOAP authentication. I think Ulf, your part2 article talks about soap authentication right?..I havent gone through it yet.
Eclipse 3.3.1.1 uses Axis/1.4, I saw that in the http header.

Can anyone please suggest if there are any articles/examples related to SOAP Header authentication using tokens, Thanks Sai.

[ January 26, 2008: Message edited by: sai maddikay ]
[ January 26, 2008: Message edited by: sai maddikay ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
Can anyone please suggest if there are any articles/examples related to SOAP Header authentication using tokens

Um, those articles of mine discuss WS-Security authentication as well. If that's not what you mean by "SOAP Header authentication", tell us what it means.
sai maddikay
Greenhorn

Joined: Jul 03, 2006
Posts: 14
I think what I was referring to was WS-security, somebody was talking about the soap authentication, I am not sure if they both mean the same thing. I will go through your article part2 and see I can successfully implement it. Thanks for following up..Sai.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Basic authentication
 
Similar Threads
how can I get username in my web application.
Basic authentication without a secure connection
Java Newbie
Setting Authorization Header in HTTP Request
FORM and BASIC authentication in the same web app