Java Reference
In-Depth Information
TicketSOAPServiceItf, Serializable {
. . . .
As you can see, the annotation
basically reflects the same configuration options as that of POJO-based web services, with
BASIC authentication and unrestricted WSDL access.
The @WebContext annotation can be found in the following dependency:
The @org.jboss.ejb3.annotation.SecurityDomain annotation should be
familiar to you since we introduced it to illustrate how to secure an EJB. As you can see,
it's a replacement for the information contained in the jboss-web.xml file, except that
the security domain is referenced directly by dbdomain (instead of java:/jaas/db-
domain ).
The previous security configuration can also be specified by means of the META-INF/
ejb-jar.xml and META-INF/jboss-ejb3.xml file in case you prefer using
standard configuration files.
To pass your login credentials to the web service, you can use the RequestContext
final TicketWebService infoService =
Map<String, Object> requestContext = ((BindingProvider)
Search WWH ::

Custom Search