2 Replies Latest reply on May 10, 2017 5:05 AM by parrotola

    VDB embedded configuration with username and password.

    parrotola Newbie

      Hi,

      I have created an embedded VDB configuration. Below the part of my code:

       

      EmbeddedServer es = new EmbeddedServer()
      SocketConfiguration s = new SocketConfiguration();
      s.setBindAddress("127.0.0.1");
      s.setPortNumber(31000);
      s.setProtocol(WireProtocol.teiid);
      EmbeddedConfiguration config = new EmbeddedConfiguration();
      config.addTransport(s);
      es.start(config);
      

       

      How to set the username and password of the socket? Is it possible?

       

      Thank you in advance.

      Kind Regards,

      Francesco