Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

user_auth Class Reference

User authentification. More...

Inherits xml_event_parser_user.

Inheritance diagram for user_auth:

Inheritance graph
List of all members.

Public Methods

function authentificate (users_location, name, password)
 Check authentification information.

function get_fullname ()
 Return user`s fullname.

function get_skills ()
 Return user`s skills.

function xep_open_users_user (attributes)
function import (fname)
 Import data.

function err (what, func='', line=0, file='', terminate=1)
 Log error.


Public Attributes

var name = ''
 User name.

var password = ''
 User password.

var fullname = ''
 User`s full name.

var skills = array()
 User`s skills.

var xml_parser
 xml parser.

var iname = ''
 Name of imported file.


Detailed Description

User authentification.

This class checks authentification information and provides information about successfully authentificated user.

Todo:
Provide more secure authentification method.
Note:
By now passwords are NOT crypted.

Definition at line 13 of file user_auth.php.


Member Function Documentation

function authentificate users_location   ,
name   ,
password   
 

Check authentification information.

Parameters:
string  users_location - location of users definition
string  name - user`s name
string  password
Returns:
nonzero if authentification is ok

Definition at line 33 of file user_auth.php.

Referenced by authentificate().

function xep_open_users_user attributes   
 

Todo:
Add crypting.

Definition at line 62 of file user_auth.php.

function import fname    [inherited]
 

Import data.

Parameters:
string  fname - name of xml file to import

Definition at line 22 of file xml_event_parser_user.php.

Referenced by enviroment::choose_model(), and enviroment::run().

function err what   ,
func    = '',
line    = 0,
file    = '',
terminate    = 1
[inherited]
 

Log error.

Parameters:
what  - error reason
func  - function name in which an error had uccured
line  - source line
file  - name of source file
terminate  - 1 to terminate script processing
Returns:
zero

Definition at line 23 of file error_logger.php.

Referenced by authentificate(), cache_container::clear(), model_querry::get(), cache_container::get(), models::get_info(), models::get_relations(), xml_event_parser_user::import(), model_explore::import(), enviroment::location(), xml_structure_builder::parse(), xml_event_parser::parse(), xml_structure_builder::parse_file(), xml_event_parser::parse_file(), models::pre_cache(), template_handler::process_file(), enviroment::process_locations(), model_explore::process_template(), enviroment::process_template(), and models::read_cache().


The documentation for this class was generated from the following file:
Generated on Tue Mar 11 08:35:19 2003 for SES by doxygen1.2.16