1 Reply Latest reply on Sep 30, 2007 3:38 AM by Viet

    Portal security with EJB

    Andriy Kucher Newbie

      Hi. I have application which runs under its own context, and it cotains portlets, which are deployed to Jboss Portal. For DAL I've choosed EJB3. I have problem with permissions: If I call EJB DAO methods from portlets then everything ok, but when I run EJB from Struts actions, which are deployed from my appliaction, EJB complains on permissions. I've checked - my struts actions doesn't have Principals, so I see Portal authorization module doesn't tell to my struts actions that authorization has been done. So, the questions is: Is its possible bind somehow my application with Struts to Jboss Portal so EJBs called from actions will work properly?

      Thanks.