Changes

Auth Module

213 bytes added, 19:05, 20 January 2011
m
no edit summary
=== Auth Module Example ===
AuthPDS was developed at NYU as an example of generating a plugin and populating the stub methods provided.
* ==== lib/auth/local/auth_pds.rb====
The AuthPDS module gets mixed in with the Session module to log in via PDS (customized for NYU). It implements the following callback functions:
# login_url - provides PDS login URL to redirect to
# after_logout - destroys some cookies that were stored to improve performance
# on_every_request - checks if the user has logged in (e.g. from another SSO system)
 
==== config/umlaut_config/environment.rb ====
The auth configuration settings are added to the local environment.rb to establish the appropriate class to mix in and to pass various options to the module.
58
edits