Converted to SimpleSamlPhp plugin