Hope to use PasswordEncoderFactories create DelegatingPasswordEncoder, can extend the default encodersMap.

For example, when a user needs to add or replace an Encoder, he must copy the source code ,if this feature is added, users can easily extend it.

Comment From: marcusdacoregio

Thanks for the report @Hccake.

This is a duplicate of https://github.com/spring-projects/spring-security/issues/5939. You can check out that issue for a workaround, and you can continue the discussion there.