[jboss-jira] [JBoss JIRA] (AS7-3950) Add role handling with --silent mode into AddPropertiesUser (add-user.sh)
Guillaume Grossetie (JIRA)
jira-events at lists.jboss.org
Thu May 10 08:45:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-3950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12691810#comment-12691810 ]
Guillaume Grossetie commented on AS7-3950:
------------------------------------------
Just updated my working copy and same error :
{code}
$ ./add-user.sh test test test --silent
Exception in thread "main" java.lang.IllegalStateException: JBAS015232: Aucune java.io.Console disponible pour interagir avec l'utilisateur.
at org.jboss.as.domain.management.security.AddPropertiesUser.<init>(AddPropertiesUser.java:110)
at org.jboss.as.domain.management.security.AddPropertiesUser.main(AddPropertiesUser.java:167)
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:270)
at org.jboss.modules.Main.main(Main.java:294)
{code}
I'm launching add-user script from jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/bin. My bash version is GNU bash, version 3.2.48(1)-release (i386-apple-darwin10.0).
Without option its works :
{code}
$ ./add-user.sh
Quel type d'utilisateur souhaitez-vous ajouter ?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a):
{code}
> Add role handling with --silent mode into AddPropertiesUser (add-user.sh)
> -------------------------------------------------------------------------
>
> Key: AS7-3950
> URL: https://issues.jboss.org/browse/AS7-3950
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Domain Management
> Affects Versions: 7.1.0.Final
> Reporter: Tomohisa igarashi
> Fix For: Open To Community
>
>
> When I add a user using AddPropertiesUser with --silent, there is no way to handle the role of that user right now.
--
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
More information about the jboss-jira
mailing list