protected ListIndexResponse getIndexResult(final String username) {
        val reference = getObjectReference();
        if (reference != null) {
            val listIndexRequest = getListIndexRequest(username, reference);
            if (listIndexRequest != null) {
                return amazonCloudDirectory.listIndex(listIndexRequest);
            }
        }
        LOGGER.warn("Object reference or list index request could not be found for user [{}]", username);
        return null;
    }
Gets index result.

@param username the username
@return the index result
support/cas-server-support-cloud-directory-authentication/src/main/java/org/apereo/cas/clouddirectory/DefaultAmazonCloudDirectoryRepository.java