Hi,

When I'm using OpenEJB for testing (EJBContainerRule/OpenEjbRunner) and want to 
test my @Stateless web-service security (@RolesAllowed), I have to include an 
openejb-jar.xml next to ejb-jar.xml containing an 
<auth-method>BASIC</auth-method> so that users and groups are read from 
users/groups.properties.

Is there another way to configure the auth-method so that I don't need to add 
an openejb-jar.xml in my sources for testing purpose only?

I can already do it with applicationComposer (sysprop "cxf.authMethod") but I 
would really like to be able to do it with EJBContainerRule/OpenEjbRunner too.

Thanks,

Xavier                                    

Reply via email to