FHIR Chat · Auto-generate Rest-Security-Service for OAuth · hapi

Stream: hapi

Topic: Auto-generate Rest-Security-Service for OAuth


view this post on Zulip Peter Bernhardt (Jul 07 2020 at 16:27):

I'm implementing a server using the HAPI FHIR server. One of the neat features of this server is that it automatically generates a Capability Statement based on your particular implementation.

I also need to provide the OAuth endpoints in the Rest -> Security -> Service sections of this resource, but I'm not sure how to include this in the auto-generated CS resource. Is there a way to amend the auto-generated resource to do this?

view this post on Zulip Jens Villadsen (Jul 07 2020 at 17:42):

Extend the class that generates the CS and add whatever you like to it

view this post on Zulip Jens Villadsen (Jul 07 2020 at 20:49):

the specific class would be e.g. org.hl7.fhir.r4.hapi.rest.server.ServerCapabilityStatementProvider.JpaConformanceProviderR4

view this post on Zulip Jame Dang (Apr 07 2021 at 08:58):

HI @Jens Villadsen : It seem like that the JpaConformanceProviderR4 is removed from HAPI 5.4.0?


Last updated: Apr 12 2022 at 19:14 UTC