1 Reply Latest reply on Jan 15, 2013 11:30 AM by vamshi.a

    EJB to EJB communication

    vamshi.a

      Hi ,

      I have two ears service and implementor, they are deployed in two JBOSS AS7.2 instances Node A and Node B. service EJB in Node A has to look for the EJB in implementor. Communication between two should be SSL.

       

      I have following the instructions from the below link for non-ssl EJB-EJB communication on two different jboss instances. I am able to connect from EJB of Node A to Node B

      https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+server+instance

       

      I have a question on remote outbound configuration,

       

      Link above suggest that we need to configure the username in remote outbound configuration, IS there a way where I can provide the information programatically without configuring in remote-outbound-connection [either as jndi properties or jboss-ejb-client.xml]?

       

      <remote-outbound-connection name="remote-ejb-connection" outbound-socket-binding-ref="remote-ejb" username="user_1" security-realm="EJBRealm">

                          <properties>

                              <property name="SASL_POLICY_NOANONYMOUS" value="true"/>

                              <property name="SSL_ENABLED" value="false"/>

                              <property name="SASL_POLICY_NOPLAINTEXT" value="false"/>

                              <property name="SSL_STARTTLS" value="false"/>

                          </properties>

                      </remote-outbound-connection>

       

      IS there any documentation on how to secure this remote outbound communication?