Class AuthorizationManager

Description

The Authorization Manager

Handles authorization requests and initializes the user acl

Located in /phpsatk-lib/global/org.eenterphace.sat.authorization/authorization.manager.php (line 36)


	
			
Method Summary
boolean evaluateAccess (AuthorizationRequest $req)
void initialize ()
void requireAccess (AuthorizationRequest $req)
Methods
evaluateAccess (line 130)

Evaluates access to a given resource

Returns true for allowed, false for denied.

  • access: public
  • static:
boolean evaluateAccess (AuthorizationRequest $req)
initialize (line 61)

Initializes the user acl

Gets information about the current user via the authentication subsystem. Checks whether there is a valid cached user acl - if not, fetches it from the database.

void initialize ()
invalidateCaches (line 98)

Invalides all acl caches

Increments the acl version number, so all older acls will be considered invalid.

  • access: public
  • static:
void invalidateCaches ()
requireAccess (line 115)

Denys access if the user does not have appropriate rights for the given request

  • access: public
  • static:
void requireAccess (AuthorizationRequest $req)

Documentation generated on Mon, 21 May 2007 10:34:45 +0200 by phpDocumentor 1.3.0RC5