Commit d033bb1a authored by Roger Feese's avatar Roger Feese
Browse files

Merge branch 'shib-cas' into 'master'

Convert CAS urls to new UNL Shib CAS urls.

See merge request !1
parents 3dee673a 2025a74a
......@@ -147,7 +147,7 @@ abstract class Unl_Controller_Action_Authenticate extends Unl_Controller_Action
$serviceUrl .= $_SERVER['SERVER_NAME'] . $path;
}
$adapter = new Unl_Cas($serviceUrl, 'https://login.unl.edu/cas');
$adapter = new Unl_Cas($serviceUrl, 'https://shib.unl.edu/idp/profile/cas');
}
return $adapter;
......
......@@ -81,7 +81,7 @@ class Unl_Controller_Plugin_Auth_Cas extends Zend_Controller_Plugin_Abstract
}
// Init the CAS Adapter.
$casAdapter = new Unl_Cas($serviceUrl, 'https://login.unl.edu/cas');
$casAdapter = new Unl_Cas($serviceUrl, 'https://shib.unl.edu/idp/profile/cas');
// If either the user has no ticket, the ticket is expired, or a user isn't logged in, go ahead with transparent login.
if ($casAdapter->isTicketExpired() || !Zend_Auth::getInstance()->hasIdentity()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment