Class Authenticator

Description

The Authenticator Interface defines methods that must be implemented to check Principals and perform the Login comand.

Receive an Authenticator instance by calling:

  1.  $services ServiceFactory::get();
  2.  $services->getAuthenticator();

  • author: Kevin Papst
  • version: $Id: Authenticator.php,v 1.2 2006/11/26 22:04:44 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • license: GNU Public License


			
Direct descendents
Class Description
DefaultAuthenticator The DefaultAuthenticator uses the internal User Management Database.
Method Summary
Authenticator Authenticator ()
mixed authenticate ( $name,  $password)
Methods
Constructor Authenticator (line 50)
Authenticator Authenticator ()
authenticate (line 64)

This performs an Authentication check.

This returns

if authentication was correct, otherwise one of the listed Flags will be returned.

The currently returned Flags are:

  • AUTHENTICATE_UNKNOWN

  • return: the Flag o a Principal is returned
mixed authenticate ( $name,  $password)
  • $name
  • $password

Redefined in descendants as:

Documentation generated by phpDocumentor 1.4.0