I am planning to develop a Single Sign On solution for my Institution which will be based on PHP. i wanted to know if it is possible to replace Java Servlets with PHP Scripting when developing such a solution as most of the SSO solutions available on the Web are based on Java Servlets/J2EE/JSP. Can php do all that Servlets can do? What are the advantages over the other?
Example of Java SSO solution http://www.josso.org
PS: The SSO solution will intergrate (authenticate & authorize) different intranet web applications only and not desktop application.