@Override
    public Map<String, List<Object>> getUser(final String username) {
        val indexResult = getIndexResult(username);
        if (indexResult == null) {
            LOGGER.warn("Index result could not be found for user [{}]", username);
            return new LinkedHashMap<>();
        }
        return getUserInfoFromIndexResult(indexResult);
    }
This is {@link DefaultAmazonCloudDirectoryRepository}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-cloud-directory-authentication/src/main/java/org/apereo/cas/clouddirectory/DefaultAmazonCloudDirectoryRepository.java