Sorry, here's the link for [1]:

http://php-java-bridge.sourceforge.net/pjb/

On Tue, Jan 19, 2010 at 9:57 AM, Les Hazlewood <[email protected]> wrote:
> 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
>

Reply via email to