Author: Tim Wagner (tw@appserver.io)
Inheritance: implements AppserverIo\Psr\Security\PrincipalInterface
Example #1
0
 /**
  * Initialize the principal with the passed name.
  *
  * @param \AppserverIo\Lang\String $name The principal's name
  */
 public function __construct(string $name)
 {
     // invoke the parent constructor
     parent::__construct($name);
     // initialize the members
     $this->members = new HashMap();
 }