Bug 1242700
Summary: | OData servlet throws TEIID10036/TEIID40087 when disabling security | ||
---|---|---|---|
Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Hisanobu Okuda <hokuda> |
Component: | Teiid | Assignee: | Van Halbert <vhalbert> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.0 | CC: | atangrin, hokuda, jstastny, vhalbert |
Target Milestone: | CR1 | Keywords: | QA-Closed |
Target Release: | 6.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-10 08:53:51 UTC | Type: | Feature Request |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Hisanobu Okuda
2015-07-14 01:55:09 UTC
Pass-thru authentication is trying to be used, which means its based on trying to authenticate the user based on defined security realm. You will need to change from using pass-thru authentication when turning off security. It is hard-coded in org.teiid.odata.LocalClient:- --------------------------------------------------------------------- 83: connectionProperties.put(TeiidURL.CONNECTION.PASSTHROUGH_AUTHENTICATION, "true"); //$NON-NLS-1$ --------------------------------------------------------------------- Accessing odata, I overwrote the value and add "user" and "password" via debugger:- --------------------------------------------------------------------- Breakpoint hit: "thread=http-/127.0.0.1:8080-1", org.teiid.odata.LocalClient.getConnection(), line=121 bci=0 http-/127.0.0.1:8080-1[1] print this.connectionProperties.put("PassthroughAuthentication", "false") > this.connectionProperties.put("PassthroughAuthentication", "false") = "true" http-/127.0.0.1:8080-1[1] print this.connectionProperties.put("user", "teiidUser") > this.connectionProperties.put("user", "teiidUser") = null http-/127.0.0.1:8080-1[1] print this.connectionProperties.put("password", "Passw0rd.") http-/127.0.0.1:8080-1[1] print this.connectionProperties this.connectionProperties = "{PassthroughAuthentication=false, user=teiidUser, password=Passw0rd., waitForLoad=0, transportName=odata}" > this.connectionProperties.put("password", "Passw0rd.") = null http-/127.0.0.1:8080-1[1] cont --------------------------------------------------------------------- Then, it worked fine. We need this capability to set the properties without using a debugger. Per the engineer: Since we don't have the concept of an anonymous connection, this would be expected behavior. If there's a change in behavior that you need, will need to file an enhancement request. Van, thank you for the suggestion. I changed the "Type" to "Feature Request". Ramesh Reddy <rareddy> updated the status of jira TEIID-3569 to Resolved Using the configuration in linked JIRA enables to use odata servlet without authentication by the user. Steven Hawkins <shawkins> updated the status of jira TEIID-3569 to Closed |