This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes secure web service annotation? 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 » EJB and other Java EE Technologies
Bookmark "secure web service annotation?" Watch "secure web service annotation?" New topic

secure web service annotation?

Johann Dobbins
Ranch Hand

Joined: Oct 16, 2008
Posts: 62
the only way i have found to configure my ejb3 web service to be secure is to add this line to the sun-ejb-jar.xml:


is there an annotation for this?

Thank You
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3023

Use TransportGuaranteeDT annotation as

to annotate the web service class.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
I agree. Here's the link:
subject: secure web service annotation?
Similar Threads
How secure is transport-guarantee CONFIDENTIAL in web.xml?
request. get User Principal(). getName() do not retreive user name
https back to http
Using https