1 Reply Latest reply on May 22, 2013 11:10 AM by Dmitry K.

    Remote access to EJBs with SSL betweem different jboss AS 7.1.3 server instances

    fan kam thong Newbie

      I have been searching high and low for the sample/tutorial of Remote access to EJBs with SSL betweem different jboss AS 7.1.3 server instances. But I cant get one until now. Has anyone successfully implemented this before ? Pointers are much more appreciated. Below are my current setup without SSL between 2 jboss AS 7.1.3.

       

      My current setup with standalone-full.xml is

       

      <security-realms>

                  <security-realm name="ejb-security-realm">

                      <server-identities>

                          <secret value="xdfdstowtrd="/>

                      </server-identities>

                  </security-realm>

      .....

      .....

       

      <subsystem xmlns="urn:jboss:domain:remoting:1.1">

                  <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>

                  <outbound-connections>

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

                          <properties>

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

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

                          </properties>

                      </remote-outbound-connection>

      .....

      .....

       

      <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

               <outbound-socket-binding name="remote-ejb">

                  <remote-destination host="192.169.1.155" port="4447"/>

              </outbound-socket-binding>

       

       

      jboss-ejb-client.xml

       

      <jboss-ejb-client xmlns="urn:jboss:ejb-client:1.0">

          <client-context>

              <ejb-receivers>

                  <remoting-ejb-receiver outbound-connection-ref="remote-ejb-connection"/>

              </ejb-receivers>

          </client-context>

      </jboss-ejb-client>