By adapterConfig I assume you mean the information from keycloak.json. As
that contains the credentials for the service you should not expose this
publicly.
What is the use-case? I would rather suggest you load keycloak.json
yourself and carefully expose selected details from it.
On 15 June 2016 at 16:03, LIEVRE Olivier <olivier.lievre(a)altran.com> wrote:
Hello,
I’ve secured a REST server with keycloak 1.9.7, and I would like to
implement a public REST GET method for an non-authenticated user to get the
adapderConfig info linked to my war.
My war adapter is configured in my standalone.xml.
Is there an easy way to read the adapterConfig info from standalone in
that case?
When a user makes an authenticated request, I can get that info with
getting RefreshableKeycloakSecurityContext from httprequest.
KR,
Olivier
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user