[teiid-issues] [JBoss JIRA] (TEIID-4090) Issue with entitysets/properties ending in auth or token
Lucie Fabrikova (JIRA)
issues at jboss.org
Tue Jul 12 11:07:00 EDT 2016
[ https://issues.jboss.org/browse/TEIID-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264315#comment-13264315 ]
Lucie Fabrikova commented on TEIID-4090:
----------------------------------------
Which URIs should be tested?
1. http://localhost:8080/odata4/myvdb/mymodel/auth
2. http://localhost:8080/odata4/myvdb/mymodel/token
3. http://localhost:8080/odata4/static/mymodel/token
4. http://localhost:8080/odata4/static.1/mymodel/token
5. http://localhost:8080/odata4/static/mymodel/auth
6. http://localhost:8080/odata4/static.1/mymodel/auth
7. 3.-6. with keycloak instead of static
Where
- in 1., 2. suppose myvdb is name of vdb, auth/token is name of table
- in 3.-7. static/keycloak is name of vdb, auth/token is name of table
thanks for info.
> 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
> Priority: Blocker
> Labels: Final
> 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)
More information about the teiid-issues
mailing list