Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

secure web service annotation?

 
Johann Dobbins
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 4259
227
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use TransportGuaranteeDT annotation as

to annotate the web service class.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic