OK, and thanks.
I guess I need to configure JAAS to get what I want to achieve.
In glassfish
<glassfish-web-app error-url="">
<security-role-mapping>
<role-name>TimerGroup</role-name>
<principal-name>test</principal-name>
</security-role-mapping>
Then the runas user will log a correct user...and not only guest.
Thanks again.
--
View this message in context:
http://openejb.979440.n4.nabble.com/EJB-Scheduler-and-RunAs-tp4663519p4663531.html
Sent from the OpenEJB User mailing list archive at Nabble.com.