A user that might request access to resources
Implementations of this class represent users in the phpSATk authorization subsystem. Each AuthenticationBackend has to provide a implementation of this class.
Located in /phpsatk-lib/global/org.eenterphace.sat.authorization/authorization.user.php (line 37)
| Class | Description |
|---|---|
| AuthorizationUserGuest | User object for not authenticated users |
| AuthorizationUserDummy | A dummy user which has access to everything |
| AuthorizationUserRDBMS | AuthorizationUser implementation for users stored in RDBMS |
| AuthorizationUserLDAP | AuthorizationUser implementation for users stored in LDAP |
Initializes the user object using a username
The username will come from the AuthenticationFrontend used. You will have to extend this and provide a roleid if you want to use role based access control.
Fetches a AuthorizationRole object for the user's primary role
This objects is cached per request.
Returns the users UID
The base implementation does not know about UIDs, backend specific implementatiosn have to handle this.
Gets the users username
Documentation generated on Mon, 21 May 2007 10:34:46 +0200 by phpDocumentor 1.3.0RC5