LOGGER.log(Level.INFO,"Migrated unsafe user record from {0} to {1}",newObject[]{unsanitizedLegacyConfigFile,configFile});
LOGGER.log(Level.INFO,"Migrated user record from {0} to {1}",newObject[]{unsanitizedLegacyConfigFile,configFile});
}catch(IOException|InvalidPathExceptione){
LOGGER.log(
Level.WARNING,
String.format("Failed to migrate user record from %s to %s, see SECURITY-499 for more information",idStrategy().legacyFilenameOf(id),idStrategy().filenameOf(id)),
String.format("Failed to migrate user record from %s to %s",unsanitizedLegacyConfigFile,configFile),
e);
}
}
...
...
@@ -726,16 +698,6 @@ public class User extends AbstractModelObject implements AccessControlled, Descr