OAUTH check if principal instanceof DConnection