chdemko / joomla-external-login

The External Login project allows Joomla! to manage external Authentication Servers
GNU General Public License v2.0
30 stars 19 forks source link

Don't enforce SSL during testing #11

Closed aquamoth closed 9 years ago

aquamoth commented 10 years ago

While testing this component and developing our own CAS Server (in a legacy MVC.Net project) we didn't have SSL. We disabled SSL in code by changing https to http in caslogin.php, line 617:

return 'https://' . $url . ($port && $port != 443 ? (':' . $port) : '') . ($dir ? ('/' . $dir) : '');

However, it would be helpful during testing to have an "unsafe" flag that disables SSL for a particular CAS Server.

chdemko commented 10 years ago

Good idea

chdemko commented 9 years ago

Solve in version 3.0.0-beta1