JavaEE app with secure jdbcRealm  JSF (RichFaces) - EJB