Hi,

I've an application which consist of a main servlet and some JSPs for
representing data. I secured the servlet and put it into a security domain
to be able to access EJBs. When testing my application using jboss 2.4.0
build 26 I ran into trouble when JSPs tried to access EJBs direct. It seems
as if the JSPs aren't in the same security domain as the rest of the
application, because every access from JSP to EJBs results in a security
exception (principal=null). Every other access (e. g. from the scured
servlet) works fine (principal=xxx).

How can I declare the security domain for my JSPs? They are in the same .war
as the servlet-descriptor (web.xml/jboss-web.xml) which contains a security
domain statement.

Thanks.

Alexander Sparkowsky
LambdaLogic Informationssysteme GmbH, Berlin, Germany
Tel: +49-30-2936385-0, Fax: +49-30-2936385-9
E-Mail: [EMAIL PROTECTED]


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to