Open danilodeLuca opened 5 years ago
Hi, two things you can try :
build the images again after you have changed the drools-roles.properties and drools-users.properties - try again (I am not sure if it is allowed to use the same pwd twice?)
execute docker run -p 8081:8080 -p 8001:8001 -i -t --name drools-workbench-showcase jboss/jbpm-workbench-showcase:latest /bin/bash
./add-user.sh
- add a new user when finished please look at standalone/configuration/application-roles.properties and application-users.properties
copy
newUser=rol1,rol2 etc to .../drools/drools-wb/showcase/etc/drools-roles.properties
and
newUser=
exit the container. Remove the container > docker ps -a you can fetch the container and then docker rm
Run the container again and try to login as newUser/
Hello, Thank you for the answer. I realized that the password hash is composed by the "user", it's something like: "user:ApllicationRealm:password". That's why its not possible to "copy and paste" password from one user to another. The easiest way is to use the script you mentioned to create new user and password. This issue can be closed.
Hello, I'm trying to add new users via drools-users.properties file, but something is wrong. You can check my forked repository to get the diff code or follow as bellow. Some considerations: 1) When I login into workbench with user "admin" and check the users list, my new user "xablau" exists. 2) Using the user "admin" if I change the xablau's password then I try to login works!