Embedded Glassfish 4 - create-file-user
I'd like to use the CommandRunner to do a create-file-user command. But I cannot get it work. I do this:
CommandResult commandResult = commandRunner.run(command, "--passwordfile", "d:\\Temp\\asadminpassword.txt", "Jennifer");
Is there a way to get this running? I always get:
"Cannot find userpassword in create-file-user command model, file a bug"
I googled an issue, that this was a bug but it should be fixed in ... 3.2 and 4.
Is there an (working) alternative to register some users in an embedded glassfish?
Thank you for help.