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 36]
Security container with hard coded users, passwords and roles, for testing.



[ Top ]


Class Methods


method checkUser [line 41]

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 53]

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 Fri, 21 Sep 2007 13:31:01 +0200 by phpDocumentor 1.3.0RC3