[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 05:47:17 EDT 2012


    [ https://issues.jboss.org/browse/AS7-3950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12691745#comment-12691745 ] 

Guillaume Grossetie commented on AS7-3950:
------------------------------------------

I'm working on it but the --silent option seems broken. When the user provide the minimal information (username, password) without --silent it's fails.
Can I make by default the console silent when the user provide the necessary information ?
I would like to do something like :

{code} 
./add-user.sh -u ggrossetie -p abcd 
# Add ggrossetie with password abcd to realm ManagementRealm (Management user) in silent mode

./add-user.sh --user ggrossetie --password abcd -r MyRealm -a 
# Add ggrossetie with password abcd to realm MyRealm (Application user) in silent mode

./add-user.sh --user ggrossetie --password abcd --role Master 
# Add ggrossetie with password abcd and role Master to realm ManagementRealm (Management user) in silent mode

./add-user.sh --user ggrossetie
# Default mode ask for additional information (password)
{code} 

@see https://issues.jboss.org/browse/AS7-2965
                
> 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