Hi
I use custom security-domain with UsersRoles login-module and ws-users.properties and ws-roles.properties files.
How correctly deploy these files using CLI to standalone.xml or domain configuration?
If you are asking on how to upload/copy these files through CLI it is not possible, AFAIK.
You have to handle it yourself in shell script.
There exists request feature on wildfly for that already.