Class: SessionHandler_Basic extends SessionHandler

  • Package: saf.Session
  • Author: John Luxford <lux@simian.ca>
  • Copyright: Copyright (C) 2001-2003, Simian Systems Inc.
  • License: http://www.sitellite.org/index/license Simian Open Software License
  • Version: 1.0, 2002-09-18, $Id: Basic.php,v 1.3 2007/10/06 00:06:30 lux Exp $
  • Access: public

Provides an HTTP Basic authentication client handler to the saf.Session
Package.


Usage Example


<?php

$basic 
= new SessionHandler_Basic;

$basic->realm 'Private Area';

// or

$c->setProperties (array (
    
'realm' => 'Private Area',
));

$basic->sendAuthRequest ();

?>

Return to Top



Properties


$access = array ()


$status = array ()


$roles = array ()


$teams = array ()


$resources = array ()


$user = array ()


$prefs = array ()


$_prefs = array ()


$path


$realm


$cancelmessage = 'You do not have permission to access this resource.'

Return to Top



Methods


start ($id, $authorized = false)


sendAuthRequest ()

  • Access: public

Sends the request for a username and password.


gatherParameters ($sessionidname = false)

Return to Top

Copyright © 2008 Sitellite CMS Project

Powered by Sitellite 5.0 Content Management System