2 Replies Latest reply on May 24, 2014 10:57 AM by Johan van Kampen

    Remote EJB : SaslException: Authentication failed: the server presented no authentication mechanisms

    Johan van Kampen Newbie

      Probably I am forgetting a simple step, however, here's my question.

       

      I tried the 'remote-ejb' example and it works perfectly, as long as I am doing the 'remote' calls from the same machine the JBoss server is running on. Using the properties (slightly changed) :

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

       

      remote.connections=default

      remote.connection.default.host=localhost

      remote.connection.default.port=8080

      remote.connection.default.username=ejbuser

      remote.connection.default.passwrord=<password>

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

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

       

      Deploying the application on an other JBoss WildFly instance (on an other machine) and chaing the .host property is resulting in

      Authentication failed: the server presented no authentication mechanisms

       

      What am I forgetting?