there might be tools related to OpenAM or Shibboleth - but that may be more java than perl http://openam.forgerock.org/ http://en.wikipedia.org/wiki/Shibboleth_(Internet2) http://shibboleth.net/