You've bitten off a bit of a tough problem ... PHP to Java integration
generally is a challenge.

Restlet running under Tomcat, running under Apache HTTPD via AJP seems to be
a common way of running Restlet applications in an Apache HTTPD environment,
but I don't know if you can get to the PHP global variables in the way you
need.  Certainly if you could run Restlet under Tomcat under the same Apache
container as PHP, you could set whatever cookies you want to transfer
information.

I would also recommend looking at the php/Java Bridge:
http://php-java-bridge.sourceforge.net/doc/  What you want may not be there
directly, but this project's community is extremely knowledgeable about the
general php/Java problem and its solutions.

On Wed, Jun 4, 2008 at 2:03 AM, Tal Liron <[EMAIL PROTECTED]> wrote:

> I have an external login handling service written in PHP with which I need
> to interface from Restlet. This system works by setting a $_SERVER variable
> (in PHP) after a user is successfully authenticated. What I need is to read
> this value from Restlet.
>

Reply via email to