Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3165

TeiidDataSource ignores jassName

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.7.1, 8.9
    • 8.7.1
    • None
    • None
    • Hide

      TeiidDataSource tds = new TeiidDataSource();
      tds.setServerName("localhost");
      tds.setPortNumber(31000);
      tds.setDatabaseName(<vdb>);
      tds.setJaasName(<jassName>);
      tds.setKerberosServicePrincipleName(<principalName>);
      tds.getConnection();

      Show
      TeiidDataSource tds = new TeiidDataSource(); tds.setServerName("localhost"); tds.setPortNumber(31000); tds.setDatabaseName(<vdb>); tds.setJaasName(<jassName>); tds.setKerberosServicePrincipleName(<principalName>); tds.getConnection();

    Description

      I am trying to connect to VDB through Kerberos authentication using TeiidDataSource:

      TeiidDataSource tds = new TeiidDataSource();
      tds.setServerName("localhost");
      tds.setPortNumber(31000);
      tds.setDatabaseName(<vdb>);
      tds.setJaasName(<jassName>);
      tds.setKerberosServicePrincipleName(<principalName>);

      but tds.getConnection(); ends with:
      TEIID20005 Client URL connection property missing "jaasName". Please add the property to connection URL

      Connection through TeiidDriver works fine:
      url: jdbc:teiid:<vdb>@mm://<host>:31000;jaasName=<jassName>;kerberosServicePrincipleName=<principalName>

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            jdurani Juraj DurĂ¡ni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: