[JBoss JIRA] (TEIIDSB-34) Support Keycloak based OAuth authentication for OData
by Ramesh Reddy (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-34?page=com.atlassian.jira.plugin... ]
Ramesh Reddy resolved TEIIDSB-34.
---------------------------------
Fix Version/s: 1.0.3
Assignee: Ramesh Reddy
Resolution: Done
I could not use Keycloak Spring Boot adapter with JEE like web application, so I had to convert the OData service with following the Spring MVC using TEIIDSB-38.
Then also the security context is not propagated to the application if you do not use the "Spring Security". Luckily Keycloak supports the Spring Security with additional code and configuration. So, I added another module called "keycloak-odata" that adds keycloak support on top of the regular OData service.
In the end, doing this there were issues when "actuator" is also involved in the same project, so special steps needed to be taken to avert those and also expose some of the urls like $metadata, /actuator/health /swagger.json without the authentication.
> Support Keycloak based OAuth authentication for OData
> -----------------------------------------------------
>
> Key: TEIIDSB-34
> URL: https://issues.jboss.org/browse/TEIIDSB-34
> Project: Teiid Spring Boot
> Issue Type: Feature Request
> Components: OData
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.0.3
>
>
> Provide Keycloak based oAuth2 authentication on top of OData API. This needs to be an optional feature either exposed through a flag or starter project in the pom.xml file.
> The scope in the OAuth needs to be used as the roles in the Teiid (this is how legacy Teiid mapped)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (TEIID-5665) Make teiid-metadata optional for the engine
by Steven Hawkins (Jira)
Steven Hawkins created TEIID-5665:
-------------------------------------
Summary: Make teiid-metadata optional for the engine
Key: TEIID-5665
URL: https://issues.jboss.org/browse/TEIID-5665
Project: Teiid
Issue Type: Task
Components: Embedded
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 12.1
The metadata jar is only for support of .index vdbs - it does not need to be a compile dependency and any usage in embedded should need an explicit dependency.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (TEIIDSB-38) Convert the OData Web application as Spring WebMVC application
by Ramesh Reddy (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-38?page=com.atlassian.jira.plugin... ]
Ramesh Reddy resolved TEIIDSB-38.
---------------------------------
Resolution: Done
Converted to Spring MVC harness, but delegated calls underneath to ODataServlet. The StaticServlet and Filters were replaced with spring specific ones (this is true even before as single vdb system).
Need verifications on CORS and GZIP as these are used from Spring supplied ones.
> Convert the OData Web application as Spring WebMVC application
> --------------------------------------------------------------
>
> Key: TEIIDSB-38
> URL: https://issues.jboss.org/browse/TEIIDSB-38
> Project: Teiid Spring Boot
> Issue Type: Task
> Components: OData
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.0.3
>
>
> The OData web layer is designed to use JEE framework in Spring Boot such that web layer semantics can be reused from Teiid. However, using this has a couple of disadvantages. Like can not expose Actuator or able to use Keycloak adapter, or can't use builtin CORS or compression libraries.
> By moving into Spring MVC based web application, we can make use of many of these features.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (TEIIDSB-41) Reduce dependency chain with hibernate-tools.jar
by Steven Hawkins (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-41?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIIDSB-41:
---------------------------------------
A minor related issue is hibernate depends upon jboss-transaction-api, which is a duplicate of javax.transaction.api.
The unnecessary scala dependencies have been addressed by: TEIID-5664
> Reduce dependency chain with hibernate-tools.jar
> ------------------------------------------------
>
> Key: TEIIDSB-41
> URL: https://issues.jboss.org/browse/TEIIDSB-41
> Project: Teiid Spring Boot
> Issue Type: Task
> Components: core
> Affects Versions: 1.0.3
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
>
> hibernate-tools.jar brings in lot of eclipse based dependencies (12). Investigate and see if these can be removed from the dependency chain.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (TEIIDSB-41) Reduce dependency chain with hibernate-tools.jar
by Ramesh Reddy (Jira)
Ramesh Reddy created TEIIDSB-41:
-----------------------------------
Summary: Reduce dependency chain with hibernate-tools.jar
Key: TEIIDSB-41
URL: https://issues.jboss.org/browse/TEIIDSB-41
Project: Teiid Spring Boot
Issue Type: Task
Components: core
Affects Versions: 1.0.3
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
hibernate-tools.jar brings in lot of eclipse based dependencies (12). Investigate and see if these can be removed from the dependency chain.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months