Quercus + PostgreSQL + JNDI + PEAR::DB

If you trying to migrate a legacy PHP application which still uses PEAR::DB to Quercus with PostgreSQL and JDBC-Connection Pools accessible through JNDI, this may come handy for you! 1. Create your Datasource e.g. in Glassfish v3’s admin console… I named mine jdbc/postgresDS 2. copy the file pgsqljndi.php to /usr/share/php/DB/pgsqljndi.php (or wherever you include your […]

Single Sign On: Cas 3.3.1, phpCAS and Spring Security

Puh… after now around 18 hours (totally), I’ve managed to get a basic setup of the single-sign-on software by JA-SIG – the Yale University running. I’ll use CAS (central authentication service) to enable a smooth transition from PHP to Java on the lyrics portal I’m working on. Now, that I’ve got phpCAS working on a […]