[arquillian-issues] [JBoss JIRA] (ARQ-907) Create a Tomcat manager user for managed Tomcat

Dan Allen (JIRA) jira-events at lists.jboss.org
Wed May 2 03:08:18 EDT 2012


Dan Allen created ARQ-907:
-----------------------------

             Summary: Create a Tomcat manager user for managed Tomcat
                 Key: ARQ-907
                 URL: https://issues.jboss.org/browse/ARQ-907
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
            Reporter: Dan Allen
            Priority: Minor


If the manager user and password are not specified in the configuration for the managed Tomcat adapter, the adapter should automatically add a manager user for the duration of the test run.

After all, the managed Tomcat adapter knows the location of the Tomcat installation and is controlling its lifecycle. We shouldn't require the developer to setup a manager user when the adapter could handle it (assuming it has the necessary permissions, but then we can say we tried). This is especially important if Tomcat is being automatically downloaded and extracted as part of the test execution.

I'm open to having a property to control this behavior, something like "autoCreateManagerUser".

Here's what would be added to tomcat-users.xml for Tomcat 7

{code:xml}
<role rolename="manager-script"/>
<user username="arquillian" password="arquillian" roles="manager-script"/>
{code}

--
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 arquillian-issues mailing list