TeiidDataSource ignores jassName
--------------------------------
Key: TEIID-3165
URL:
https://issues.jboss.org/browse/TEIID-3165
Project: Teiid
Issue Type: Bug
Affects Versions: 8.7.1
Environment: OS: fedora 20
arch: x86_64
java: sun 1.7
Reporter: Juraj DurĂ¡ni
Assignee: Steven Hawkins
Fix For: 8.7.1, 8.9
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>