-
Bug
-
Resolution: Done
-
Major
-
None
-
None
When adding encryption support to an existing filesystem realm, Elytron Tool creates a CLI script explaining how to add the resources to WildFly. The command checks whether a file already exists as the location where the CLI script will be saved, and asks the user if they want to overwrite it.
Currently, the wrong file location is checked, with the overwrite check looking at the relative location ./<realm-name>.cli, instead of the actual path the file is written at: <output-location>/<realm-name>.cli.
The overwrite command and the write command should use a single Path variable set to the output-location path, instead of defining the value separately.
This issue also addresses a misconfiguration of the prompt for the overwrite check. Currently, it outputs the message Password: and hides the user's input. This is due to the incorrect parameters being used in Command.prompt(). The message should be placed in the prompt, and echo set to true.
- is incorporated by
-
ELY-2496 Add integrity to existing filesystem realms using Elytron Tool
- Resolved