Sitellite Application Framework
Class Tree         Index         All Elements

Class: SessionHandler_Basic

Source Location: Program_Root/Session/Handler/Basic.php

Class Overview

SessionHandler
   |
   --SessionHandler_Basic

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


Author(s)

Version

  • 1.0, 2002-09-18, $Id: Basic.php,v 1.2 2005/07/06 15:30:56 lux Exp $

Copyright

  • Copyright (C) 2001-2003, Simian Systems Inc.

Variables

Methods


Inherited Variables

Inherited Methods

Class: SessionHandler

SessionHandler::SessionHandler()
Constructor method.
SessionHandler::changeTimeout()
Resets the client info with a new timeout value.
SessionHandler::close()
Closes the session with the user.
SessionHandler::sendAuthRequest()
Sends an authorization request to the user.
SessionHandler::setProperties()
Sets the properties of this object.
SessionHandler::start()
Initializes the communication with the client.

Class Details

[line 58]
Provides an HTTP Basic authentication client handler to the saf.Session Package.


1 <?php
2
3 $basic = new SessionHandler_Basic;
4
5 $basic->realm = 'Private Area';
6
7 // or
8
9 $c->setProperties (array (
10 'realm' => 'Private Area',
11 ));
12
13 $basic->sendAuthRequest ();
14
15 ? >




Tags:

access:  public
version:  1.0, 2002-09-18, $Id: Basic.php,v 1.2 2005/07/06 15:30:56 lux Exp $
license:  http://www.sitellite.org/index/license
copyright:  Copyright (C) 2001-2003, Simian Systems Inc.
author:  John Luxford <mailto:lux@simian.ca>


[ Top ]


Class Variables

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

[line 63]


Type:   mixed


[ Top ]

$realm =

[line 61]


Type:   mixed


[ Top ]



Class Methods


method gatherParameters [line 86]

void gatherParameters( [mixed $sessionidname = false])



[ Top ]

method sendAuthRequest [line 78]

void sendAuthRequest( )

Sends the request for a username and password.



Tags:

access:  public


Overrides SessionHandler::sendAuthRequest() (Sends an authorization request to the user.)

[ Top ]

method start [line 66]

void start( mixed $id, [mixed $authorized = false])



Overrides SessionHandler::start() (Initializes the communication with the client.)

[ Top ]


Copyright © 2007, SIMIAN systems Inc.
All rights reserved. Privacy policy
Documentation generated on Tue, 13 Feb 2007 17:16:47 -0600 by Sitellite AppDoc and phpDocumentor 1.2.2