The synagogue's security is being credited with saving lives in an event that ended with only the attacker dying.