Skip to content
Snippets Groups Projects
Commit c67523ed authored by efalcy's avatar efalcy
Browse files

mise en forme

parent ed630235
Branches
Tags
No related merge requests found
......@@ -30,10 +30,6 @@ class CasServerController extends Zend_Controller_Action {
}
function indexAction() {
}
public function returnValidTicketResponse($username,$ticket) {
......@@ -59,7 +55,7 @@ class CasServerController extends Zend_Controller_Action {
<AccountDisabled>false</AccountDisabled>
<AccountExpired>false</AccountExpired>
</User>'
);
);
}
......@@ -102,7 +98,7 @@ class CasServerController extends Zend_Controller_Action {
if ($serialized_session) {
$session = unserialize($serialized_session);
if ($session)
return $this->returnValidMusicMeResponse($session);
return $this->returnValidMusicMeResponse($session);
}
return $this->returnMusicMeFailureTicketResponse('INVALID_TICKET',$ticket);
......@@ -118,7 +114,7 @@ class CasServerController extends Zend_Controller_Action {
$ticket=$this->_request->getParam('ticket');
if (strlen($ticket)<1 || strlen($service)<1) {
return $this->returnFailureTicketResponse('INVALID_REQUEST');
}
}
$serialized_session=Zend_Registry::get('cache')->load($ticket);
if ($serialized_session) {
......@@ -132,14 +128,14 @@ class CasServerController extends Zend_Controller_Action {
}
function proxyAction() {
}
function proxyValidateAction() {
}
/* Cas server methods not used for now :
function proxyAction() {
}
function proxyValidateAction() {
}
function indexAction() {
}
*/
}
?>
\ No newline at end of file
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