<div dir="ltr"><div><div><div><div>Hi!<br><br></div>We have written a custom subclass of org.keycloak.adapters.springsecurity.AdapterDeploymentContextBean to enable custom location for keycloak.json. The use of custom location is optional and defaults to the standard /WEB-INF/keycloak.json.<br><br></div><div>Our use case is that for developers we have a default keycloak.json included in the application. In production, however, we override the default by using a file that is external to the application. The location of the file is specified in JNDI settings and injected to our subclass with the help of Spring.<br><br></div>What do you think would such an extension to AdapterDeploymentContextBean be of general use? I&#39;d be happy to merge our subclass to AdapterDeploymentContextBean and submit a pull request.<br><br></div>Best regards,<br></div>Thomas<br></div>