For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > May 2006 > Client authentication to web server???









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Client authentication to web server???
Shadow

2006-05-09, 7:03 pm

Hi Ng,
I'm a lurker of this NG, but today I'm looking for your help ;-)

Preface:
I'm learning Ejb 3.0 and Web Services, both argument from security
side (authentication and confidentional conversation).

I wrote a stateless ejb with power of annotations (java 1.5 spec) and
a simple client. All works.
Then, I try to protect a method and I modify client with
authentication lines. All works.
Then, I expose a web service through this stateless ejb.
Consequently, I build another client act to deal of web service.All
works.

Now:
I want protect this web service (exposed by ejb) with login and
password. Now, I try with the same annotations I've used for ejb. It's
possible? But, my great dubt is the class Client... Have you got a
example of autenthication sent by client?

I post you source code if you believe it's useful to understand. :)

Uhm.. I'm sorry for my bad english :(

Bye!

Shad
P.s. another question: in yuor opinion, what are services supply by a
Ejb container? :-o

Shadow

2006-05-09, 7:03 pm

Ehm... in subject: "...web service.." -_-
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com