Tests
[ class tree: Tests ] [ index: Tests ] [ all elements ]

Class: TestSecurityContainer

Source Location: /tests/common/SecurityManagerTest.php

Class Overview

SecurityContainer
   |
   --TestSecurityContainer

Security container with hard coded users, passwords and roles, for testing.


Methods


Inherited Methods

Class: SecurityContainer

SecurityContainer::checkUser()
Check if a username, password pair is valid. It must return false if the user is unknown or its password is invalid.
SecurityContainer::getRoles()
Returns the list of rules belonging to a user.

Class Details

[line 35]
Security container with hard coded users, passwords and roles, for testing.



[ Top ]


Class Methods


method checkUser [line 40]

void checkUser( mixed $username, mixed $password)



Tags:

access:  public
see:  SecurityContainer::checkUser()


Overrides SecurityContainer::checkUser() (Check if a username, password pair is valid. It must return false if the user is unknown or its password is invalid.)

[ Top ]

method getRoles [line 52]

void getRoles( mixed $username)



Tags:

access:  public
see:  SecurityContainer::getRoles()


Overrides SecurityContainer::getRoles() (Returns the list of rules belonging to a user.)

[ Top ]


Documentation generated on Mon, 13 Feb 2006 11:44:03 +0100 by phpDocumentor 1.3.0RC3