Hi Arturo, I couldn't find an exact example to cover your particular scenario. The one I found that uses the Tomcat realm for users, password, and roles was: Simple Remote Tomcat Users: https://github.com/apache/tomee/tree/master/examples/simple-remote-tomcatusers
As for the arquillian properties, give it a try to a format similar to the following,: <property name="roles">admin/user123</property> <property name="users">user123/secretpassword</property> El jue, 31 dic 2020 a las 2:40, Arturo Martín Lladó (< [email protected]>) escribió: > Hi, list - > > I've been trying to create a test for a role protected JAX-RS service that > invokes as well a role protected EJB. > In order to achieve this goal, I decided to look at the TomEE Arquillian > examples using the arquillian-tomee-embedded Maven artifact. > Long story short: I don't see in any arquillian.xml file of the examples > nothing related with setting user & roles. > I see this in the documentation for the Arquillian TomEE container ( > http://tomee.apache.org/latest/docs/developer/testing/arquillian/index.html > ): > > users | a map of users (properties syntax) > roles | user roles (properties syntax) > > Is it possible to see any example of this two properties being used in an > arquillian.xml file? > > Happy new year, btw :-) > > -- > Arturo Martín Lladó > -- Atentamente: César Hernández.
