Use a custom KeycloakConfigResolver and you get full control over the config. See the following for an example:

https://github.com/keycloak/keycloak/blob/master/examples/multi-tenant/src/main/java/org/keycloak/example/multitenant/control/PathBasedKeycloakConfigResolver.java
https://github.com/keycloak/keycloak/blob/master/examples/multi-tenant/src/main/webapp/WEB-INF/web.xml#L24

On 6 September 2016 at 08:46, abhishek raghav <abhi.raghav007@gmail.com> 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?

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 ,
Abhishek Raghav





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