I do not want to save GlassFish domain passwords in clear text. What should I do?
The GlassFish domain is password protected. Some CLI commands require the GlassFish domain administrator’s password to operate. To make GlassFish secure by default, GlassFish has deprecated the CLI’s “–password” option and added password alias support for CLI. Users can define the admin password alias in a disk file, and then use the CLI “–passwordfile” option to point to that disk file. For more detail information, please check the GlassFish Administration Guide.