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

Stian Thorgersen sthorger at redhat.com
Mon Feb 20 02:59:09 EST 2017


JBoss CLI has an offline mode that can be used to script updates to the xml
file without running it. Perfect for DockerFiles.

On 19 February 2017 at 20:23, Iván Perdomo <ivan at akvo.org> wrote:

> 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
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>


More information about the keycloak-user mailing list