Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

AuthCAS

Summary:Central Authentication Service(CAS) based authentication
Version: 2009-04-08
Prerequisites: PmWiki2.2.1(untested on earlier versions), CAS, phpCAS
Status:
Maintainer: Greg Grimes

Questions answered by this recipe

This section is optional; use it to indicate the types of questions (if any) this recipe is intended to answer. How do I authenticate using a CAS server? Can PmWiki use CAS for authentication?

Description

CasAuth uses phpCAS functions to authenticate to a CAS server. "CAS is an authentication system originally created by Yale University to provide a trusted way for an application to authenticate a user."

To install the recipe, follow these steps:

  1. Copy CasAuth.phpΔ to your cookbook directory
  2. Download phpCAS from http://www.ja-sig.org/wiki/display/CASC/phpCAS+installation+guide
  3. Place phpCAS in your cookbook directory, or another directory you feel comfortable with.
  4. Add the following to your config.php
    • $AuthUser['CasServer'] = 'mycasserver.com'; //the recipe will not work without this line.
    • @include_once("$FarmD/cookbook/CasAuth.php");
  5. Optionally add the following to your config.php
    • $AuthUser['CasPort'] = 443; //default is 443
    • $AuthUser['CasUri'] = '/uriOnCasServer'; //default is ''
    • $AuthUser['CasPath'] = 'CasPath/'; //default is CAS/
    • $Author = $AuthId //If you want the $Author set to the username in $AuthId

Notes

CAS does not provide authorization, only authentication. You can use the builtin PmWiki authorization abilities.

A warranty, guarantee or support for CAS or phpCAS is not provided.

Release Notes

This is the first release of CasAuth. It has been tested with PmWiki 2.2.1 and phpCAS 1.0.2RC1. phpCAS 1.0.1 is confirmed not to work.

See Also

PmWiki's AuthUser

Contributors

Greg Grimes

Comments

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:42 AM