wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3017
    
  35

Use TransportGuaranteeDT annotation as

to annotate the web service class.


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
 
It is sorta covered in the JavaRanch Style Guide.
 
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
user-data-constraint
Using https