[keycloak-user] Invoke interceptor to modify object created by adatper after reading keycloak json file

Marek Posolda mposolda at redhat.com
Wed Sep 7 05:49:54 EDT 2016


We have KeycloakConfigResolver, which is useful for the use-cases like 
multitenancy, but likely can be used for your use-case too, so you can 
modify the KeycloakDeployment programaticaly. See the example 
"multi-tenant" from keycloak-examples distribution.

Marek

On 06/09/16 10:11, Jitendra Chouhan wrote:
> Hello,
>
> Is there anyway we can use keep/invoke some kind of interceptor once 
> keycloak.json file has been read and object created by keycloak 
> adapter(code) for web application adapter. Which class get initialized 
> and create's object from installed JSON file?
>
> While referring SPI section in there keycloak documentation found 
> there is Config class which has
> hold that data but could not get much idea to write custom 
> implementation to inject data in object created by keycloak adapter.
>
> Do not want to keep client key and keystore password in JSON file 
> instead can be pulled from somewhere else at run time and will inject 
> into created object with custom code.
>
> Please do let me know if further information is required.
>
> Thanks & Regards,
> Jitendra Chouhan
>
>
> _______________________________________________
> 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/20160907/a59229db/attachment.html 


More information about the keycloak-user mailing list