Testing secured EJBs has been historically hard to get right. Up until now, I have been using proprietary techniques like JBossLoginContextFactory described in the article Testing secured EJBs on WildFly 8.1.x with Arquillian to test secured EJBs. During this year Devoxx, David Blevins, founder of the Apache TomEE project – a lightweight Java EE Application […]