@Override
    public Optional<PasswordlessUserAccount> findUser(final PasswordlessAuthenticationRequest request) {
        val result = accounts
            .entrySet()
            .stream()
            .filter(entry -> RegexUtils.find(entry.getKey(), request.getUsername()))
            .map(Map.Entry::getValue)
            .findFirst();
        customizerList
            .stream()
            .filter(BeanSupplier::isNotProxy)
            .forEach(customizer -> customizer.customize(result));
        return result;
    }
Map of all passwordless accounts read from resources.
support/cas-server-support-passwordless-api/src/main/java/org/apereo/cas/impl/account/SimplePasswordlessUserAccountStore.java