[opencms-dev] RE: RE: Resource loader error in file - urgent -please hellp

Alexander Kandzior alex at opencms.org
Thu Mar 11 13:11:03 CET 2004


If the security is the cause of your error then some file in your
application context is not readable by the guest user. 

There is no other securtiy mechanism involved. In the case of your code
maybe there is a resource in the navigation the user can not read? Also,
keep in mind that read access is required for all top-level folders as well.
And of course you must also publish the files since the Guest user can
access the "online" project only. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Armen Markarian
> Sent: Thursday, March 11, 2004 11:55 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] RE: RE: Resource loader error in file 
> - urgent -please hellp
> 
> 
> Dear Alex, in this case it is not an other exception hidden 
> by the resource loader error! In fact i putted the following 
> programmcode and now it works
> 
> if(current_username!=null && 
> current_username.equalsIgnoreCase("guest"))
> {
> // logging an user which belongs to offline Project 
> // i guess every user but guest would make it too!?
> 		cmsObj.loginUser(username,userpwd);
> 	}
> 
> In case i think the guest user has no rights to handle with 
> the CmsResource Object itself. I don not understand why? Security?
> 
> Regards and thanyx for feedback
> 
> Armen
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list