Feb 22nd, 2011, 05:16 PM
can I use spring security with PHP?
I need to come up with a security architecture and design that works with web applications written in both Java and PHP. I am totally blown away with the Java support. Does anyone know if the framework can be used with PHP?
Thanks in advance
Feb 22nd, 2011, 06:19 PM
I have heard of some hoops you can jump through to get Java code to run in PHP, but this is likely to cause you more trouble than it will help. Your best bet is to centralize your authentication mechanism and share that mechanism with the php application and the java application. A few examples include sharing an ldap instance that both applications authenticate to. Using an SSO solution like CAS or and OpenID Provider.