[keycloak-user] how get info from adapterConfig
Stian Thorgersen
sthorger at redhat.com
Tue Jun 28 04:49:47 EDT 2016
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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160628/c61e0531/attachment.html
More information about the keycloak-user
mailing list