This is NAIT's version of simplesamlphp.