[
https://issues.jboss.org/browse/AS7-4611?page=com.atlassian.jira.plugin.s...
]
Vladimir Rastseluev commented on AS7-4611:
------------------------------------------
And please, take a look at this fragment too:
https://github.com/jbossas/jboss-as/blob/master/domain-management/src/mai...
} else if (temp.indexOf(DOMAIN_CONFIG_DIR_USERS_SWITCH)>=0) {
System.setProperty(DOMAIN_CONFIG_DIR,temp.substring(3));
} else if (temp.indexOf(SERVER_CONFIG_DIR)>=0) {
System.setProperty(SERVER_CONFIG_DIR,temp.substring(3));
}
Probably there should be SERVER_CONFIG_DIR_USERS_SWITCH in condition.
It's impossible to add user "silently" by
$JBOSS_HOME/bin/add-user.* tool
-------------------------------------------------------------------------
Key: AS7-4611
URL:
https://issues.jboss.org/browse/AS7-4611
Project: Application Server 7
Issue Type: Bug
Components: Security
Affects Versions: 7.1.1.Final
Reporter: Vladimir Rastseluev
Assignee: Darran Lofthouse
Fix For: 7.1.2.Final-redhat1
I tried to add user "silently" by add-user.sh script (see steps to reproduce).
But unsuccessfully:
Exception in thread "main" java.lang.NullPointerException
at
org.jboss.as.domain.management.security.state.PropertyFileFinder.<init>(PropertyFileFinder.java:63)
at
org.jboss.as.domain.management.security.AddPropertiesUser.<init>(AddPropertiesUser.java:117)
at
org.jboss.as.domain.management.security.AddPropertiesUser.<init>(AddPropertiesUser.java:121)
at
org.jboss.as.domain.management.security.AddPropertiesUser.main(AddPropertiesUser.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira