Skip to content
Snippets Groups Projects
Commit 2025a74a authored by Roger W Feese's avatar Roger W Feese
Browse files

Convert CAS urls to new UNL Shib CAS urls.

parent 3dee673a
No related branches found
No related tags found
1 merge request!1Convert CAS urls to new UNL Shib CAS urls.
......@@ -147,9 +147,9 @@ 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;
}
}
\ No newline at end of file
}
......@@ -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()) {
......@@ -96,4 +96,4 @@ class Unl_Controller_Plugin_Auth_Cas extends Zend_Controller_Plugin_Abstract
exit;
}
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment