[opencms-dev] Re: Clustering Solutions

Andrew Kerr akerr at fluid.com
Mon Feb 28 21:16:31 CET 2005


Hi Thomas,

Thanks you very much for your response.

>Yes, see package com.opencms.flex.cache and as example
>[..]/system/workplace/administration/flexcache/index.html?initial=true
>
>  
>
The approach used by the JSP in question seems straightforward.  
However, there's one technical issue I'm not quite sure how to solve.

We would want to invoke a cache-clearing JSP programmatically via a 
different server.  However, the OpenCMS code requires that the user be 
logged in as an Admin in order to clear the cache.  This makes sense, 
but I'm unsure what the best way is for our server to automatically log 
itself in as an administrator.

I suppose one way would be to invoke the following URL:

/opencms/opencms/system/login/index.html?login=true&OPENCMSUSERNAME=user&OPENCMSPASSWORD=pass

Is this the simplest approach, or is there a preferred mechanism for 
automated processes to log into OpenCMS?

Many thanks,
Andrew Kerr






More information about the opencms-dev mailing list