[keycloak-dev] Keycloak Realm Admin Services SPI
Pedro Igor Silva
psilva at redhat.com
Thu Sep 3 12:11:12 EDT 2015
Hi,
Based on the discussion from our last meeting, we would need to provide SPIs for these two major areas:
- Admin Services
- Admin UI
I would like to start discussing about the first area, in other words, how to provide custom services to Keycloak Admin RESTFul API.
My initial requirements is all about providing a new API based on the following path:
* /admin/realms/{realm}/authz
I was thinking about using something like following method on RealmAdminResource:
@Path("{custom_resource}")
public Object getCustomResource(@PathParam("custom_resource") String customResource) {
return // load resource from SPI
}
So here we could obtain some user-defined resource using a SPI based on a path param. That would allow us to support custom admin services for realms or even for a specific realm only.
Any thoughts ?
Regards.
Pedro Igor
More information about the keycloak-dev
mailing list