This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "secure web service annotation?" Watch "secure web service annotation?" New topic
Author

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:

<transport-guarantee>CONFIDENTIAL</transport-guarantee>

is there an annotation for this?

Thank You
Devaka Cooray
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2691
    
    3

Use TransportGuaranteeDT annotation as

to annotate the web service class.


Author of ExamLab (Download) - the free mock exam kit for SCJP / OCPJP
Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: secure web service annotation?
 
Similar Threads
user-data-constraint
Using https
https back to http
request. get User Principal(). getName() do not retreive user name
How secure is transport-guarantee CONFIDENTIAL in web.xml?