RT::Authen::ExternalAuth::DBI::Cookie - Database-backed, cookie SSO source for RT authentication
Provides the Cookie implementation for RT::Authen::ExternalAuth.
Set($ExternalSettings, { # An example SSO cookie service 'My_SSO_Cookie' => { 'type' => 'cookie', 'name' => 'loginCookieValue', 'u_table' => 'users', 'u_field' => 'username', 'u_match_key' => 'userID', 'c_table' => 'login_cookie', 'c_field' => 'loginCookieValue', 'c_match_key' => 'loginCookieUserID', 'db_service_name' => 'My_MySQL' }, 'My_MySQL' => { ... }, } );
Cookie-specific options are described here. Shared options are described in the etc/RT_SiteConfig.pm file included in this distribution.
The example in the "SYNOPSIS" lists all available options and they are described below.
The name of the cookie to be used.
The users table.
The username field in the users table.
The field in the users table that uniquely identifies a user and also exists in the cookies table. See c_match_key below.
The cookies table.
The field that stores cookie values.
The field in the cookies table that uniquely identifies a user and also exists in the users table. See u_match_key above.
The DB service in this configuration to use to lookup the cookie information. See RT::Authen::ExternalAuth::DBI.
To install RT::Authen::ExternalAuth, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Authen::ExternalAuth
CPAN shell
perl -MCPAN -e shell install RT::Authen::ExternalAuth
For more information on module installation, please visit the detailed CPAN module installation guide.