DefaultPrincipalFactory.php
60 $tmpPerm = $this->permissionManager->addTempPermission($this->userType, '', PersistenceAction::READ);
77 $tmpPerm = $this->permissionManager->addTempPermission($this->roleType, '', PersistenceAction::READ);
107 $tmpPerm = $this->permissionManager->addTempPermission($this->roleType, '', PersistenceAction::READ);
Criteria defines a condition on a PersistentObject's attribute used to select specific instances.
Definition: Criteria.php:21
BuildDepth values are used to define the depth when loading object trees.
Definition: BuildDepth.php:19
Default implementation of PrincipalFactory.
Definition: DefaultPrincipalFactory.php:28
__construct(PersistenceFacade $persistenceFacade, PermissionManager $permissionManager, $userType, $roleType)
Constructor.
Definition: DefaultPrincipalFactory.php:45
PersistenceFacade defines the interface for PersistenceFacade implementations.
Definition: PersistenceFacade.php:23
const USER_GROUP_NAME
Definition: AnonymousUser.php:22
getUser($login, $useTempPermission=false)
Definition: DefaultPrincipalFactory.php:56
PrincipalFactory implementations are used to retrieve User and Role instances.
Definition: PrincipalFactory.php:19
getRole($name, $useTempPermission=false)
Definition: DefaultPrincipalFactory.php:105
PermissionManager implementations are used to handle all authorization requests.
Definition: PermissionManager.php:20
getUserRoles(User $user, $useTempPermission=false)
Definition: DefaultPrincipalFactory.php:75
PersistenceAction values are used to define actions on PersistentObject instances.
Definition: PersistenceAction.php:19