Link to home
Start Free TrialLog in
Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on

Could you point if phpCAS that uses API for authenticating users against a CAS server could be integrated at an existing Codeigniter project?

Hi Experts

Could you point if  phpCAS that uses API for authenticating users against a CAS server (WebSSO CAS) could be integrated at an existing Codeigniter project?

CAS - Central Authentication Server

I'm implementing a SSO (Single Sign-On)  funcionality to allow a web app conexion based on user id and  correspondent user's data obtained from LDAP (AD-Active Directory)

phpCAS

I'm planning to implement the SSO functionality at PHP Codeigniter's site index.php.

Thanks in advance!
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Hey Eduardo,

I'm not familiar with the process you're talking about, but as for CodeIgniter, you should be able to implement the phpCAS class as a 3rd party library in your installation.

The class file from the source code repo would need to be dropped into the Libraries folder of your installation. You would then need to load it up to use it (either Autoload or by explicitly loading it)

Have you used this class outside of CodeIgniter? If so, then it's use would effectively be the same. You would instantiate it in your controller, and then call the various methods on that instance.
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Eduardo Fuerte

ASKER

Hi Chris

Thank you for help.

Very good starting point!