0 Replies Latest reply on Sep 23, 2010 7:16 PM by Scott Kubina

    Security authentication mechanism at the method level, rather than at the service level?

    Scott Kubina Newbie

      Hi knowledgeable readers,


      Is it possible to setup individual authentication methods for methods contained in a single web service? I know you can set message level security for a service, but haven't been able to find out if it's possible to do it at the method level.


      E.g. At the web service class level JBoss allows you to set the authentication method, transport guarantee, and whether access to the WSDL is secure by using the @org.jboss.wsf.spi.annotation.WebContext annotation on the web service class. That annotation is not allowed to be put on methods though. Is there a similar thing for methods? Or since I'm developing an EJB web service can is there something that can be used for EJB's and is still applicable once the EJB is deployed as a web service?


      Any help is greatly appreciated!