Activation de spring security.