[
https://issues.jboss.org/browse/TEIID-4090?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-4090:
-------------------------------------
Trying trace back the reason for those checks is explained here
http://stackoverflow.com/questions/3125296/can-i-exclude-some-concrete-ur...
but, in that case you are correct that, OData layer will not accept "static"
named VDB, or when using the "OAuth" based war, it will not allow
"static" or "keycloak" named VDBs. I can not seem to remember the
reason I added the "static" content servlet?
Issue with entitysets/properties ending in auth or token
--------------------------------------------------------
Key: TEIID-4090
URL:
https://issues.jboss.org/browse/TEIID-4090
Project: Teiid
Issue Type: Bug
Components: OData
Affects Versions: 8.12
Reporter: Steven Hawkins
Assignee: Ramesh Reddy
Fix For: 9.0, 8.12.5
To handle oauth, we are check for uri.endsWith("auth") ||
uri.endsWith("token") - however valid uris can end with those characters as
well. An ioexception will be thrown instead of seeing the expected results - we also need
to not simply throw an ioexception in ODataServlet as there is no server log of the
exception and the client sees a 500 error.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)