private void loadServices(final File file) {
        FunctionUtils.doAndHandle(__ -> {
            getEligibleAccounts().clear();
            getEligibleAccounts().putAll(readAccountsFromFile(file));
        });
    }
This is {@link JsonResourceSurrogateAuthenticationService}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-surrogate-core/src/main/java/org/apereo/cas/authentication/surrogate/JsonResourceSurrogateAuthenticationService.java