Following a new requirement from security, I need to restrict access to jndi resources to a certain j2ee role as in
<run-as>
<role-name>myRole</role-name>
</run-as>
Now the Seam context is loaded by a ServletContextLoader and the
<listener>
tag does not allow
<run-as>
children.
Any suggestions?