[keycloak-dev] add-user.sh overwrites wildfly one

Bill Burke bburke at redhat.com
Fri Apr 22 13:32:09 EDT 2016


I don't think we should do this.  We are going to need to leverage the 
JBoss EAP/Wildfly documentation on how to manage the server.  We can't 
be overriding commands that exist for JBoss.  There is going to be a lot 
of confusion.

On 4/22/2016 11:56 AM, Marek Posolda wrote:
> AFAIK it is intentional on standalone keycloak server. If you use 
> parameter "--container" it will delegate to the wildfly impl, so you 
> have the possibility to add the "wildfly" admin. Not sure if this is 
> properly documented...
>
> With overlay, we don't overwrite the default wildfly "add-user.sh" but 
> instead we add our own "add-user-keycloak.sh".
>
> Marek
>
>
> On 22/04/16 17:45, Bill Burke wrote:
>> The add-user.sh script overwrites the one that comes distributed with
>> Wildfly/EAP.  Is this intentional?  To set up domain mode on multiple
>> servers you need to be able to add an admin user to the domain and 
>> share the
>> secret with slave hosts so they can connect to the domain controller.
>>
>> Can I rename add-user.sh to something else?
>>
>> keycloak-add-user.sh
>>    - or -
>> sso-add-user.sh
>>    - or -
>>
>> ????
>>
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com



More information about the keycloak-dev mailing list