3 Replies Latest reply on Oct 30, 2012 9:18 AM by jaikiran

    User needed for remote EJB 7.1.1 clients ?

    markboletti

      Hi all ! I was just testing remote EJBs with the examples in the AS 7.1.1 documentation. I was just surprised to see that EJBs can be contacted also without providing username/password information.

      Here's my jboss-ejb-client.properties:

       

      endpoint.name=client-endpoint

      remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false

      #Added by me

      remote.connections=default

       

      remote.connection.default.host=localhost

      remote.connection.default.port = 4447

      remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false

      #remote.connection.default.username=user111

      #remote.connection.default.password=password222

       

      Do I need to change some properties in this file, in order to enable authentication for my EJB clients ?

      Thanks

      Mark