Class AuthorizationRequest

Description

Base class for authorization requests of various types

The authorization request - by design - has the function of checking whether an AuthorizationACLEntry matches the request as well as choosing the most specific (this is implemented in the base class) match.

  • abstract:

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


	
			
Direct descendents
Class Description
AuthorizationRequestApplication Application access request
AuthorizationRequestDataObject Authorization request for DataObject access
Method Summary
boolean evaluate (AuthorizationACL $acl)
string getType ()
boolean match (AuthorizationACLEntry $entry)
Methods
evaluate (line 51)

Evaluates the policy for this request using a given ACL

Fetches a list of ACL entries for the given type (@link getType()} filters out all matches and selects the most specific match. Global specificity is evaluated first.

  • access: public
boolean evaluate (AuthorizationACL $acl)
getType (line 108)

Return a type identifier

Each implementation must return a unique request type identifier. Using the given type, all matching AuthorizationACLEntrys will be used.

  • access: public
  • abstract:
string getType ()

Redefined in descendants as:
match (line 116)

Check whether the given ACL entry matches this request

  • access: public
  • abstract:
boolean match (AuthorizationACLEntry $entry)

Redefined in descendants as:

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