[jboss-jira] [JBoss JIRA] (AS7-3035) Put Realm item from add-user.sh is not correctly used

Pavel Janousek (Closed) (JIRA) jira-events at lists.jboss.org
Thu Dec 15 03:40:09 EST 2011


     [ https://issues.jboss.org/browse/AS7-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Janousek closed AS7-3035.
-------------------------------

    Resolution: Rejected


JIRA created by my miss-understanding this security behavior. Sorry.
                
> Put Realm item from add-user.sh is not correctly used
> -----------------------------------------------------
>
>                 Key: AS7-3035
>                 URL: https://issues.jboss.org/browse/AS7-3035
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 7.1.0.Beta1b
>            Reporter: Pavel Janousek
>            Assignee: Anil Saldhana
>            Priority: Blocker
>
> I've tried add new admin user - session was exactly as there:{code}[pjanouse at pjanouse bin]$ ./add-user.sh                                                                                                                                                                                                       
>                                                                                                                                                                                                                                              
> Enter the details of the new user to add.                                                                                                                                                                                                    
> Realm (ManagementRealm) : admin
> Username : admin
> Password : 
> Re-enter Password : 
>  * Error * 
> JBAS015238: Username must not match the password.
> Enter the details of the new user to add.
> Realm (admin) : 
> Username (admin) : admin
> Password : 
> Re-enter Password : 
> The username 'admin' is easy to guess
> Are you sure you want to add user 'admin' yes/no? yes
> About to add user 'admin' for realm 'admin'
> Is this correct yes/no? yes
> Added user 'admin' to file '/home/pjanouse/github/jboss-as/build/target/jboss-as-7.1.0.CR1-SNAPSHOT/standalone/configuration/mgmt-users.properties'
> Added user 'admin' to file '/home/pjanouse/github/jboss-as/build/target/jboss-as-7.1.0.CR1-SNAPSHOT/domain/configuration/mgmt-users.properties'
> [pjanouse at pjanouse bin]${code}
> But when I started AS server after and try to login to Admin console, I see *ManagementRealm* again, although it should be *admin* there.

--
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