2 Replies Latest reply on Mar 1, 2012 7:31 AM by suikast42

    User management in AS 7.1.0.Final

    suikast42

      Hello guys,

      I try today to connect remote ( EJB and JMS ) to as 7.1.0.Final. So that works fine for my EJB's but I got an AuthorisationException. Because my remote user is not in the guest role.

       

      So I try to change my role with add-user.bat. But I see no possibility to do that with that tool. I try do delete my user by removing the entry in the propertie file. Bu if got the error shown below:

       

      * Error *

      JBAS015243: The user 'remoteuser' already exists in at least one properties file.

       

      So how can I change the password, role or realm of an existing user ??

       

      Thanks in advance.

        • 1. Re: User management in AS 7.1.0.Final
          dlofthouse

          At the moment a member of the community is currently working on an enhancement to update an existing user in the properties files if that user already exists: -

           

          https://issues.jboss.org/browse/AS7-2757

           

          In the meantime you would need to find all application-users.properties and application-roles.properties files under the AS installation and remove the user from them all so that the script can add them again.  In your case it may be that you are using standalone mode and the one being detected by the script is under the domain configuration or that could be the other way round.

          • 2. Re: User management in AS 7.1.0.Final
            suikast42

            Hi Darran,

             

            I foind it out myself too. The same properties exists in standalone and in the domain configuration. . And that was the problem. You must delete the user from both.