just these properties
jndiProperties.put( "remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS","true");
jndiProperties.put( "remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT","false");
jndiProperties.put("remote.connection.default.username",username.getText());
jndiProperties.put("remote.connection.default.password",password.getText());