Exemplo n.º 1
0
 /**
  *
  * @param OW_AuthAdapter $adapter
  * @return OW_AuthResult
  */
 public function authenticate(OW_AuthAdapter $adapter)
 {
     $result = $this->auth->authenticate($adapter);
     if ($this->isAuthenticated()) {
         $this->user = BOL_UserService::getInstance()->findUserById($this->auth->getUserId());
     }
     return $result;
 }