I have no idea if this will help, but Caucho's Quercus is an implementation
of PHP5 in Java:
http://quercus.caucho.com/

I've never used it, but have considered looking into it to support PHP apps
like WordPress on Java application servers. Maybe you'll find it useful.

Tauren



On Tue, Jan 19, 2010 at 9:15 AM, Matthew Ishii <[email protected]>wrote:

> Ah ok I see - I thought maybe some of the ground work had been done, but
> this is definitely something I could see doing.  I've seen the PHP/Java
> Bridge before .. looks like a good application for it.
>
> Thank you for the response, I will consider it
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Les Hazlewood
> Sent: Tuesday, January 19, 2010 6:58 AM
> To: [email protected]
> Subject: Re: Apache Shiro Project and PHP
>
> Hi Matthew,
>
> As you have deduced, it definitely is possible, but no one has
> contributed any PHP code to the project yet.
>
> A solution could be done in a number of ways:
>
> 1) A PHP Subject instance that resides in a web server would
> communicate over REST/JSON/SOAP/etc to another Shiro-enabled server
> where the SecurityManager resides.
> 2) A Shiro-enabled JVM would be connected directly to the PHP
> application using a PHP/Java bridge [1].  I've never tried this
> myself, so I'd be interested to see if this could work.  Naturally
> this would be MUCH faster than #1 as there would not be any RPC
> overhead.
>
> Or you could mix the two, depending on your application topology.
>
> So, as you can see, while totally possible, there is ground work to be
> done.  If you happen to take up the challenge, please consider
> donating back to the project since others could benefit from this.
>
> If this is something you'd like to do, and have questions along the
> way, please join the developer list, and we can discuss the best ways
> to go about doing this.
>
> HTH,
>
> Les
>
> On Fri, Jan 15, 2010 at 6:10 PM, Matthew Ishii <[email protected]>
> wrote:
> > Hello,
> >
> >
> >
> > After reading about apache shiro I must admit I am a little *too*
> excited.
> > I know this usually happens when I don't understand something completely
> and
> > I think it's the answer to all my prayers.
> >
> >
> >
> > So I'd love for this to be an exception, I am supposed to come up with a
> > single sign on solution for the company I work for.  We have the
> following
> > primary architectures:  A web application that provides CRM-like
> > functionality to a 'front-end' and back office administrative and
> > transactional processing capabilities to a 'back-end' - all coded in
> Java.
> > So in this case we are covered and have no issues using Shiro.
> >
> >
> >
> > However, we also have a reporting interface and a separate 'processing
> > interface' - the team responsible for this mainly uses 'scripting'
> languages
> > such as PHP, Ruby, and more recently, Ajax.  In this regard it would be
> nice
> > to know if the Apache Shiro project is able to interact with a client not
> > programmed in java.  Reading the introduction and looking over the
> diagram
> > on the home page - it would seem that this is possible, that many
> languages
> > and frameworks not Java based are able to use Shiro.  But when I delve
> into
> > the documentation and even download the code from SVN - I do not find
> > anything that would seem to indicate that this is possible.
> >
> >
> >
> > Does anyone know where I could go to find an example integrating the
> Shiro
> > code API with PHP, Ruby, Perl, etc?
> >
> >
> >
> > If there are no documentation sources, then how about classes - or just a
> > description of how this is supposed to work?  Is this some future
> > functionality that hasn't been developed yet?
> >
> >
> >
> > Thank you!
> >
> > Matthew
>
> This message contains information which may be confidential and privileged.
> Unless you are the addressee (or authorized to receive for the addressee),
> you may not use, copy or disclose to anyone the message or any information
> contained in the message. If you have received the message in error, please
> advise the sender by sending a reply e-mail, and delete the message. Thank
> you very much.
>
>
>

Reply via email to