[
https://issues.jboss.org/browse/WFCORE-306?page=com.atlassian.jira.plugin...
]
Darran Lofthouse commented on WFCORE-306:
-----------------------------------------
This task should wait until we switch to the new file system security realm by default -
once we switch to that realm updates can be performed using management operations so it
will make more sense to be a part of the CLI especially where we can embed the server in
the CLI.
Update add-user to use AESH or move it into the CLI
---------------------------------------------------
Key: WFCORE-306
URL:
https://issues.jboss.org/browse/WFCORE-306
Project: WildFly Core
Issue Type: Feature Request
Components: Domain Management, Scripts
Reporter: Darran Lofthouse
Assignee: Jean-Francois Denise
Within the add-user utility it is difficult to handle situations where we do not have
access to a java.io.Console which is the easiest way to handle password reading without an
echo to the user e.g. in Cygwin
Switching to AESH would allow us to use the implementation there to handle this.
Alternatively it may actually make sense to make add-user a special mode of the CLI, we
may at some point want to switch to runtime operations being executed on the server so
porting to the CLI could be the first step to make this possible.
Overall this is going to require further discussion so the comments here are just a
starting point.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)