Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2956

Improve documentation for for Users and Roles in arquillian.xml - TomEE embedded

    XMLWordPrintableJSON

Details

    Description

      Current documentation for TomEE and Arquillian (http://tomee.apache.org/latest/docs/developer/testing/arquillian/index.html) don't provide example on how to add to arquillian.xml User and Roles. Currently only states:

       

      users  ->    a map of users (properties syntax)
      roles  ->  user roles (properties syntax)
      

       

      The following properties can be added to the sample arquillian.xml

       

      <property name="users">
           user=userpass
           admin=adminpass
      </property>
      
      <property name="roles">
          user=userrole
          admin=adminrole
      </property>
      

       

       

      After this, (optional) we can also add a new Tomee example under: https://github.com/apache/tomee/tree/master/examples to show these properties in use.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cesarhernandezgt Cesar Hernandez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: