Skip to content
Snippets Groups Projects
Commit 608f1ab4 authored by Olav Morken's avatar Olav Morken
Browse files

cas: Make it easier to override finalStep() in subclasses.

This patch makes it easier to override the finalStep()-function in
subclasses by making sure that the casValidation()-function can be used
from subclasses.

Patch by Josselin Jacquard.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2886 44740490-163a-0410-bde0-09ae8108e29a
parent abc947c7
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ class sspmod_cas_Auth_Source_CAS extends SimpleSAML_Auth_Source { ...@@ -151,7 +151,7 @@ class sspmod_cas_Auth_Source_CAS extends SimpleSAML_Auth_Source {
* @param string $service * @param string $service
* @return list username and attributes * @return list username and attributes
*/ */
private function casValidation($ticket, $service){ protected function casValidation($ticket, $service){
switch($this->_validationMethod){ switch($this->_validationMethod){
case 'validate': case 'validate':
return $this->casValidate($ticket, $service); return $this->casValidate($ticket, $service);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment