[
https://issues.jboss.org/browse/WFLY-2456?page=com.atlassian.jira.plugin....
]
Darran Lofthouse commented on WFLY-2456:
----------------------------------------
[~rgaisford] Sounds good and you are very welcome to take a look. As I mention above it
could be tricky as permissions can make a file or folder appear missing even though there
but not accessible but certainly open to someone exploring the possibilities.
I am going to move this Jira issue to the WFCORE project in Jira as that is technically
where the code lives: -
https://github.com/wildfly/wildfly-core
The code for the add user utility is under domain management and the entry point is a
class called 'org.jboss.as.domain.management.security.adduser.AddUser', if you
have not already seen it the following page should give you some starting points to get
building a server
https://developer.jboss.org/wiki/HackingOnWildFly (Although do note it
is WildFly Core you need to be working on not WildFly)
One final point I would only recommend working on this if you plan to work on it soon,
that way it can reach WildFly 9 - for WildFly 10 there is going to be a lot of rework in
this area possibly making a lot of this utility redundant.
Bad permissions on properties files when using add-user.bat for
results in "JBAS015234: No mgmt-groups.properties files found"
------------------------------------------------------------------------------------------------------------------------------
Key: WFLY-2456
URL:
https://issues.jboss.org/browse/WFLY-2456
Project: WildFly
Issue Type: Bug
Components: Scripts
Affects Versions: 8.0.0.Beta1
Environment: Windows 7, 32-bit, jdk1.7.0_45
Reporter: John Lusk
Fix For: Awaiting Volunteers
Just getting started w/Wildfly after a long absence from Java. Fresh download, trying to
hit admin console, got instructed to use add-user to add an admin user.
c:\usr\local\wildfly-8.0.0.Beta1\bin>.\add-user.bat
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a): a
* Error *
JBAS015234: No mgmt-groups.properties files found.
Press any key to continue . . .
c:\usr\local\wildfly-8.0.0.Beta1\bin>echo %JBOSS_HOME%
C:\usr\local\wildfly-8.0.0.Beta1
c:\usr\local\wildfly-8.0.0.Beta1\bin>echo %JAVA_HOME%
C:\java\jdk1.7.0_45
c:\usr\local\wildfly-8.0.0.Beta1\bin>echo %M2_HOME%
C:\usr\local\Maven\3.1.1
c:\usr\local\wildfly-8.0.0.Beta1\bin>mvn -version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 11:22:2
2-0400)
Maven home: C:\usr\local\Maven\3.1.1
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: C:\java\jdk1.7.0_45\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family:
"windows"
c:\usr\local\wildfly-8.0.0.Beta1\bin>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)