[ 
https://issues.apache.org/jira/browse/VCL-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16412229#comment-16412229
 ] 

Junaid Ali edited comment on VCL-1087 at 4/5/18 7:48 PM:
---------------------------------------------------------

Please find attached the VCL CAS SSO patch. This patch modifies/adds the 
following files:

.ht-inc/authentication.php
 .ht-inc/conf-default.php
 .ht-inc/utils.php
 .ht-inc/authmethods/casauth.php (new)
 casauth/index.php (new)

Below are details for each change:

*.ht-inc/authentication.php*
 selectAuth() function modified to allow for directing CAS type authentication 
choices to the casauth.php authentication handler.

*.ht-inc/conf-default.php*
 Added descriptive configuration options for add CAS paramters to authMechs 
array.

*.ht-inc/utils.php*
 * getCryptKeyID() function was modified to add support for casauth URL's
 * curlDoSSLWebRequest() function added for performing web requests using PHP 
cURL library
 * vclAutoLoader() function was added to autoload VCL classes. This was added 
to resolve Class Not Found Errors caused by php-pear-CAS library using PHP 
class autoload functionality.

*.ht-inc/authmethods/casauth.php*
 A new authentication handler that plug's into the conf.php configuration file 
and handles CAS related tasks, e.g. validating users, adding users to database, 
updating users in database, updating user group membership to a global group. 
The user group needs to be pre-created to make sure CAS authenticated users 
will get added to it.

*casauth/index.php*
 This is a new web directory that handles CAS service validation tasks and 
consequent user logging in and redirection to homepage. 

*Note: You will need to install php-pear-CAS module on your Web Server.*


was (Author: junaid.ali):
Please find attached the VCL CAS SSO patch. This patch modifies/adds the 
following files:

.ht-inc/authentication.php
 .ht-inc/conf-default.php
 .ht-inc/utils.php
 .ht-inc/authmethods/casauth.php (new)
 casauth/index.php (new)

Below are details for each change:

*.ht-inc/authentication.php*
 selectAuth() function modified to allow for directing CAS type authentication 
choices to the casauth.php authentication handler.

*.ht-inc/conf-default.php*
 Added descriptive configuration options for add CAS paramters to authMechs 
array.

*.ht-inc/utils.php*
 * getCryptKeyID() function was modified to add support for casauth URL's
 * curlDoSSLWebRequest() function added for performing web requests using PHP 
cURL library

*.ht-inc/authmethods/casauth.php*
 A new authentication handler that plug's into the conf.php configuration file 
and handles CAS related tasks, e.g. validating users, adding users to database, 
updating users in database, updating user group membership to a global group. 
The user group needs to be pre-created to make sure CAS authenticated users 
will get added to it.

*casauth/index.php*
 This is a new web directory that handles CAS service validation tasks and 
consequent user logging in and redirection to homepage.

 

Note: You will need to install php-pear-CAS module.

> VCL CAS SSO
> -----------
>
>                 Key: VCL-1087
>                 URL: https://issues.apache.org/jira/browse/VCL-1087
>             Project: VCL
>          Issue Type: New Feature
>          Components: web gui (frontend)
>    Affects Versions: 2.5
>            Reporter: Junaid Ali
>            Priority: Major
>         Attachments: 0001-CAS-Authentication-Module.patch, Design document 
> for adding CAS support to VCL.pdf
>
>
> This new feature will add [CAS|https://www.apereo.org/projects/cas] single 
> sign on support to the VCL Website.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to