/**
  * Finds a role matching the given identifier.
  *
  * @param mixed $identifier The identifier of the role to find
  * @return \TYPO3\Flow\Security\Policy\Role The matching role object if found, otherwise NULL
  */
 public function findByIdentifier($identifier)
 {
     if (isset($this->newRoles[$identifier])) {
         return $this->newRoles[$identifier];
     }
     return parent::findByIdentifier($identifier);
 }
Ejemplo n.º 2
0
 /**
  * @param string $identifier
  * @return Task
  */
 public function findByIdentifier($identifier)
 {
     return parent::findByIdentifier($identifier);
 }
Ejemplo n.º 3
0
 /**
  * @param string $accountId
  * @return \Ag\Login\Domain\Model\Account
  */
 public function findByIdentifier($accountId)
 {
     return parent::findByIdentifier($accountId);
 }