Forums / Developer / Communication between extensions / Comment59150
Quentin Villevieille
Tuesday 18 May 2010 9:18:06 am
Sorry, I forgot to tell you, the following method is called, at first;
/** * This method is called to check whether the ser is authenticated or not. * @return TRUE when the user is authenticated, FALSE otherwise. * @public */ function checkAuthentication() { phpBIZ::traceBegin(); if ( $this->isAuthenticated() ) { phpBIZ::trace('user is authenticated'); $res = TRUE; } else { // redirects to the Biz website, where authentication is done (or not!) $this->redirectToBiz(); // never reached $res = FALSE; } phpBIZ::traceEnd($res); return $res; }