View Full Version : Using LPS with JSP authentication
gaelblondelle
11-17-2004, 12:37 PM
I encounter problem while embedding a Laszlo program in a JSP based application which is protected via form based authentication.
When I place my lzx files in the protected area, I can't load the application whereas the application works perfectly when it is loaded from an unprotected area of the same webapp.
I use JOnAS-4.1.4 which embeds Tomcat-5.0.28
Gael
shawn
11-18-2004, 09:33 AM
Gael,
Are you speaking of the J2EE mandated 'protection' by placing the lzx files withing the /WEB-INF directory?
gaelblondelle
11-18-2004, 12:55 PM
In fact, in my web.xml, I define a security constraint like this :
<security-constraint>
<web-resource-collection>
<web-resource-name>test</web-resource-name>
<description>my test</description>
<url-pattern>/protected/*</url-pattern>
<http-method>DELETE</http-method>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
</web-resource-collection>
...
And then, I configures a form based authentication to access the pages corresponding to the previous pattern.
When I put my test.lzx file in the root directory of my webapp, it works well, but when I put it in the /protected directory, I don't manage to load it.
Is it possible to use LZX pages with form based authentication?
Your remark make me ask another question :-) : Is it possible to store the lzx files under WEB-INF like jsp are in Struts?
ankitrastogi
02-07-2006, 04:31 AM
Any update on this.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.