Hi Marek,
Thank you for your answer. I understand that I should use an adapter, but it is unclear to me how that will work in my situation.
I will try to clarify.
I am using JBoss Apiman which uses JBoss Keycloak to manage its realm. Both JBoss Apiman and JBoss Keycloak run on the same Wildfly application server. Apiman runs on wildfly so my assumption is that an adapter is already used to secure the Apiman GUI and to do the back channelling.
But next to the Apiman GUI there is a Apiman gateway which uses a Keycloak OAuth plugin to enforce a security policy on managed api calls. The gateway itself is not secured by OAuth and is not known as a client in a keycloak realm. But the Keycloak OAuth plugin does expect a bearer token.
I am unsure where I could apply an adapter to acomplish this and which adapter it should be.
Regards,