Java Reference
In-Depth Information
. . . .
}
In order to activate the security domain on your EJBs, we need to mention it in the
assembly descriptor of your
jboss-ejb3.xml
file:
<jboss:ejb-jar>
<assembly-descriptor>
<s:security>
<ejb-name>*</ejb-name>
<s:security-domain>ejb-security-domain</s:security-domain>
</s:security>
</assembly-descriptor>
</jboss:ejb-jar>
Now redeploy the Ticket EJB example application, following the directions contained
in
Chapter 3
,
Beginning Java EE 6 - EJBs
, and execute the client.
As you can see from the following screenshot (taken from the
WireShark
network
analyzer), the remote handshake is successfully executed using the Secure Sockets
Layer: