Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / JavaBeans / May 2006

Tip: Looking for answers? Try searching our database.

Client authentication to web server???

Thread view: 
Shadow - 09 May 2006 19:01 GMT
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 - 09 May 2006 19:24 GMT
Ehm... in subject: "...web service.."  -_-


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.