AppserverIo\Appserver\ServletEngine\Security\NobodyPrincipal::equals PHP Méthode

equals() public méthode

Compare this NobodyPrincipal's name against another Principal.
public equals ( AppserverIo\Psr\Security\PrincipalInterface $another ) : boolean
$another AppserverIo\Psr\Security\PrincipalInterface The other principal to compare to
Résultat boolean Will always return FALSE, because this is nobody
    public function equals(PrincipalInterface $another)
    {
        return false;
    }