Yes, it does. But it uses 'RequiredActionContext' context, how can I have access to this context inside 'RealmResourceProvider'?

'RealmResourceProviderFactory' create method is:

@Override
public RealmResourceProvider create(KeycloakSession session)


Date: Wed, 1 Jun 2016 15:39:43 +0200
Subject: Re: [keycloak-user] Realm Resource Provider
From: sthorger@redhat.com
To: palermo@pobox.com
CC: keycloak-user@lists.jboss.org

Try looking at the authenticator provider example I believe that does it

On 1 June 2016 at 14:38, Bruno Palermo <palermo@pobox.com> wrote:
Hi,

I just create a custom resource provider. It's possible to render a freemarker template as response?

https://github.com/keycloak/keycloak/blob/master/examples/providers/rest/src/main/java/org/keycloak/examples/rest/HelloResourceProvider.java


Thanks,
Bruno

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user