Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!1Convert CAS urls to new UNL Shib CAS urls.
......@@ -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()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment