Class Sabre_DAV_Auth_Backend_Apache

Description

Apache authenticator

This authentication backend assumes that auhtentication has been conifgured in apache, rather than within SabreDAV.

Make sure apache is properly configured for this to work.

  • author: Evert Pot (http://www.rooftopsolutions.nl/)
  • copyright: Copyright (C) 2007-2010 Rooftop Solutions. All rights reserved.
  • license: Modified BSD License

Located in /sources_custom/Sabre/DAV/Auth/Backend/Apache.php (line 17)

Sabre_DAV_Auth_Backend_Abstract
   |
   --Sabre_DAV_Auth_Backend_Apache
Variable Summary
string $remoteUser
Method Summary
bool authenticate (Sabre_DAV_Server $server,  $realm)
array|null getCurrentUser ()
array getUsers ()
Variables
string $remoteUser (line 24)

Current apache user

  • access: protected
Methods
authenticate (line 34)

Authenticates the user based on the current request.

If authentication is succesful, true must be returned. If authentication fails, an exception must be thrown.

  • access: public
bool authenticate (Sabre_DAV_Server $server,  $realm)

Redefinition of:
Sabre_DAV_Auth_Backend_Abstract::authenticate()
Authenticates the user based on the current request.
getCurrentUser (line 53)

Returns information about the currently logged in user.

If nobody is currently logged in, this method should return null.

  • access: public
array|null getCurrentUser ()

Redefinition of:
Sabre_DAV_Auth_Backend_Abstract::getCurrentUser()
Returns information about the currently logged in user.
getUsers (line 70)

Returns the full list of users.

This method must at least return a uri for each user.

It is optional to implement this.

  • access: public
array getUsers ()

Redefinition of:
Sabre_DAV_Auth_Backend_Abstract::getUsers()
Returns the full list of users.

Inherited Methods

Inherited From Sabre_DAV_Auth_Backend_Abstract

Sabre_DAV_Auth_Backend_Abstract::authenticate()
Sabre_DAV_Auth_Backend_Abstract::getCurrentUser()
Sabre_DAV_Auth_Backend_Abstract::getUsers()

Documentation generated on Sun, 02 Jan 2011 23:08:30 +0000 by phpDocumentor 1.4.3