AppserverIo\Appserver\ServletEngine\Security\NobodyPrincipal::equals PHP 메소드

equals() 공개 메소드

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
리턴 boolean Will always return FALSE, because this is nobody
    public function equals(PrincipalInterface $another)
    {
        return false;
    }