JBoss Community

[JBAS 6.0.0] Jrmp Invoker

created by mlo in Beginner's Corner - View the full discussion

Hello everybody.

 

We're currently moving from JBoss 4.0.1 to JBoss 6.0.0.

 

(I'm a very beginner in the JB world)

 

So, our EJB2 deploy correctly.

 

But I Found out some *.xml files like this one called (jboss-security-service.xml) :

 

<?xml version="1.0" encoding="UTF-8"?>

 

<!-- JBoss security domain definition and SSL-enabled JRMP invoker for securing EJB access -->

<server>

    <mbean code="org.jboss.security.plugins.JaasSecurityDomain"

           name="jboss.security:service=JaasSecurityDomain,domain=RMI+SSL">

        <constructor>

            <arg type="java.lang.String" value="RMI+SSL"/>

        </constructor>

        <attribute name="KeyStoreURL">${jws.include.keystore}</attribute>

        <attribute name="KeyStorePass">${jws.sign.storepass}</attribute>

    </mbean>

 

    <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"

           name="jboss:service=invoker,type=jrmp,socketType=SSL">

        <attribute name="RMIObjectPort">14445</attribute>

        <attribute name="RMIClientSocketFactory">

            org.jboss.security.ssl.RMISSLClientSocketFactory

        </attribute>

        <attribute name="RMIServerSocketFactory">

            org.jboss.security.ssl.RMISSLServerSocketFactory

        </attribute>

        <attribute name="SecurityDomain">java:/jaas/RMI+SSL</attribute>

        <depends>jboss.security:service=JaasSecurityDomain,domain=RMI+SSL</depends>

    </mbean>

</server>

 

 

This file was copied into /server/default/deploy on JBoss 4.0.1 .

 

And, in the file jboss.xml, I found out the following :

 

    <!-- Specific JBoss invoker for session beans.

     Used to enable/disable SSL encryption

     Merged with jboss.xml during generation by XDoclet -->

<invoker-proxy-bindings>

    <invoker-proxy-binding>

        <name>m-slsb-invoker</name>

        <invoker-mbean>

            jboss:service=invoker,type=jrmp

<!-- Replace the previous line with the following to enable/disable SSL

            jboss:service=invoker,type=jrmp,socketType=SSL> -->

        </invoker-mbean>

        <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>

        <proxy-factory-config>

            <client-interceptors>

                <home>

                    <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>

                    <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>

                    <interceptor>

                        org.jboss.proxy.TransactionInterceptor

                    </interceptor>

                    <interceptor>

                        fr.alcatel.ecsm.ds.util.access.InvokerInterceptor

                    </interceptor>

                </home>

                <bean>

                    <interceptor>

                        org.jboss.proxy.ejb.StatelessSessionInterceptor

                    </interceptor>

                    <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>

                    <interceptor>

                        org.jboss.proxy.TransactionInterceptor

                    </interceptor>

                    <interceptor>

                        fr.alcatel.ecsm.ds.util.access.InvokerInterceptor

                    </interceptor>

                </bean>

            </client-interceptors>

        </proxy-factory-config>

    </invoker-proxy-binding>

</invoker-proxy-bindings>

 

And I must say that, I do not understand what these files are doing...

 

So, i someone could gimme an advice/doc/etc on that, it would be great !

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community