Enabled spring auto reconfiguration