What rights may be defended by means of war?

When is war justified? The traditional assumption is that self-defence against aggression is always permissible. But are the values of state sovereignty and territorial integrity always, or even generally, sufficiently important on their own to justify the resort to war in their defence?