Example secure EJB3 connector
Example 15.2. Sample Secure EJB3 Connector The beans described in the code sample are appended to the ejb3-connectors-jboss-beans.xml file. Both beans are required to configure a secure connector for EJB3 using the key pair created in Procedure 15.1, “ Generate a new key pair and add it to the key store "localhost.keystore" in the JBoss server conf directory. ”. The keyPassword property in the sample configuration is the key pair password specified when the key pair was created. The sample configuration creates a connector that listens for SSL connections on port 3843. This port needs to be open on the server firewall for access by clients. sslsocket://${jboss.bind.address}:3843 EJB3SSLDomain resource:localhost.keystore KEYSTORE_PASSWORD ejb-ssl EJB-SSL_KEYPAIR_PASSWORD