apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/springsecurity/PasswordEncoderAdapter.java/PasswordEncoderAdapter/matches
class PasswordEncoderAdapter:  @Override
  public boolean matches(CharSequence rawPassword, String encodedPassword) {
    boolean matches = this.encoder.matches(rawPassword, encodedPassword);
    if (matches) {
      return true;
    }
    String id = this.extractId(encodedPassword);
    if (StringUtils.hasText(id)) {
      throw new IllegalArgumentException(
          "There is no PasswordEncoder mapped for the id \"" + id + "\"");
    }
    return false;
  }