----- Original Message -----
From: "Marek Posolda" <mposolda(a)redhat.com>
To: "Stian Thorgersen" <stian(a)redhat.com>, "keycloak dev"
<keycloak-dev(a)lists.jboss.org>
Sent: Monday, 8 June, 2015 9:08:47 AM
Subject: Re: [keycloak-dev] Admin recovery update
I wonder if we can do something like manually parse the DB configuration
from the KeycloakDS configuration in standalone.xml/datasource.xml and
then use it to manually connect to database . This is really workaround
and probably stupid (also considering that datasource can be configured
in standalone.xml, domain.xml or in "ds" file in standalone/deployments
etc). But maybe it's the easiest way how to get it working:-)
-1000 That's a horrible idea ;)
Marek
On 5.6.2015 13:30, Stian Thorgersen wrote:
> The hope was to use the new offline CLI mode to add reset admin password
> and import/export operations. However, it turns out to be a bit of a pain
> in the ass to do so.
>
> For now we'll just have a system property that is used to reset admin pass,
> similar to how import/export works.
>
> Hopefully soon we can improve on this and use the offline CLI mode, or
> alternatively create a custom script that does this. The main issue with
> these is datasources are not available.
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-dev