[keycloak-user] Manually editing standalone.xml vs offline install

Iván Perdomo ivan at akvo.org
Sun Feb 19 14:23:03 EST 2017


Hi,

A problem of having a copy of the file is how to deal with upgrades, and
the evolution of this file(s).

The Docker images use saxon.jar and XSLT transformations to modify the
standalone(-ha).xml files, e.g.

https://github.com/jboss-dockerfiles/keycloak/blob/master/server-postgres/Dockerfile#L4

This is perhaps a 'safer' approach since the file can evolve and you can
still apply your changes (if it finds the xpath matching pattern)

My five cents,

On 02/19/2017 03:46 PM, John D. Ament wrote:
> Hi
> 
> I was wondering, if I wanted to avoid a build time run of offline install,
> can I just edit standalone.xml?  I already ship a customized standalone.xml
> so its not an issue to include the file changes.  These are the changes I
> identified:
> 
> Added: <extension module="org.keycloak.keycloak-adapter-subsystem"/>
> Added:
>                     <security-domain name="keycloak">
>                         <authentication>
>                             <login-module
> code="org.keycloak.adapters.jboss.KeycloakLoginModule" flag="required"/>
>                         </authentication>
>                     </security-domain>
> Added: <subsystem xmlns="urn:jboss:domain:keycloak:1.1"/>
> 
> John
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
> 

-- 
Iván



More information about the keycloak-user mailing list