code: protected void configureJdbcAuthenticationProvider(final AuthenticationManagerBuilder auth, final MonitorProperties.Endpoints.JdbcSecurity jdbc) throws Exception {
          val cfg = auth.jdbcAuthentication();
          cfg.usersByUsernameQuery(jdbc.getQuery());
          cfg.rolePrefix(jdbc.getRolePrefix());
          cfg.dataSource(JpaBeans.newDataSource(jdbc));
          cfg.passwordEncoder(PasswordEncoderUtils.newPasswordEncoder(jdbc.getPasswordEncoder()));
      }
docs: Configure jdbc authentication provider.
  
  @param auth the auth
  @param jdbc the jdbc
  @throws Exception the exception