• Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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();

      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>

            [TEIID-3165] TeiidDataSource ignores jassName

            Filip Elias <felias@redhat.com> changed the Status of bug 1151034 from VERIFIED to CLOSED

            RH Bugzilla Integration added a comment - Filip Elias <felias@redhat.com> changed the Status of bug 1151034 from VERIFIED to CLOSED

            Juraj Duráni <jdurani@redhat.com> changed the Status of bug 1151034 from ON_QA to VERIFIED

            RH Bugzilla Integration added a comment - Juraj Duráni <jdurani@redhat.com> changed the Status of bug 1151034 from ON_QA to VERIFIED

            Van Halbert <vhalbert@redhat.com> changed the Status of bug 1151034 from MODIFIED to ON_QA

            RH Bugzilla Integration added a comment - Van Halbert <vhalbert@redhat.com> changed the Status of bug 1151034 from MODIFIED to ON_QA

            Van Halbert <vhalbert@redhat.com> changed the Status of bug 1151034 from NEW to MODIFIED

            RH Bugzilla Integration added a comment - Van Halbert <vhalbert@redhat.com> changed the Status of bug 1151034 from NEW to MODIFIED

            Moved the property logic into the common build properties method.

            Steven Hawkins added a comment - Moved the property logic into the common build properties method.

            Looks like these are only being added in the case of a non-socket connection.

            Steven Hawkins added a comment - Looks like these are only being added in the case of a non-socket connection.

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

                Created:
                Updated:
                Resolved: