* @param store
* @throws IOException
*/
public static void recodePasswords( GeoServerUserGroupStore store) throws IOException{
GeoServerPasswordEncoder encoder = store.getSecurityManager().loadPasswordEncoder(store.getPasswordEncoderName());
encoder.initializeFor(store);
GeoServerMultiplexingPasswordEncoder mEncoder = new
GeoServerMultiplexingPasswordEncoder(store.getSecurityManager(),store);
for (GeoServerUser user : store.getUsers()) {
if (encoder.isResponsibleForEncoding(user.getPassword()))