You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Cesar Hernandez (Jira)" <ji...@apache.org> on 2021/01/14 21:58:00 UTC

[jira] [Created] (TOMEE-2956) Improve documentation for for Users and Roles in arquillian.xml - TomEE embedded

Cesar Hernandez created TOMEE-2956:
--------------------------------------

             Summary: Improve documentation for for Users and Roles in arquillian.xml - TomEE embedded
                 Key: TOMEE-2956
                 URL: https://issues.apache.org/jira/browse/TOMEE-2956
             Project: TomEE
          Issue Type: Documentation
    Affects Versions: 8.0.5
            Reporter: Cesar Hernandez


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:

 
{code:java}
users  ->    a map of users (properties syntax)
roles  ->  user roles (properties syntax)
{code}
 

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

 
{code:java}
<property name="users">
     user=userpass
     admin=adminpass
</property>

<property name="roles">
    user=userrole
    admin=adminrole
</property>
{code}
 

 

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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)