Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow new CAS connection with same instance
In some case, we need to test more than on CAS server Looks near to apereo#68 ```php /* Check different CAS */ for ($i = 0; $i < $nb_server; $i++) { //Init connection phpCAS::client(CAS_VERSION_2_0,$config[$i]['host'],$config[$i]['port'],$config[$i]['uri'],true,true); phpCAS::setNoCasServerValidation(); //Check authentification if ($auth = phpCAS::checkAuthentication()) { echo "server $i is ok" break; } } ```
- Loading branch information