Just war theory, developed over centuries, focuses on six criteria for assessing whether a conflict is justified.