activebilling/rubycas-client — pull request #1 by sinogermany (2014-05-06 01:17:36+00:00)
Title: ssl protocol support

Sso will make redirection to the "requested url" after identity verification.
`service` , which is provided by Sso client,

Sso client is using `controller#url_for(params)` method to get the requested url.
If you don't specify :protocol , it would default to 'http'.

Now we are using https://spcc.activebilling.com.au/ as well as http://spcc.ab.dc/
So we need to support both.

`controller#protocol` returns something like `http://` or `https://` , so we need to extract the real protocol part.