public static ObjectReference getObjectRefByPath(final String path) {
        if (path == null) {
            return null;
        }
        return ObjectReference.builder().selector(path).build();
    }
Gets object ref by path.

@param path the path
@return the object ref by path
support/cas-server-support-cloud-directory-authentication/src/main/java/org/apereo/cas/clouddirectory/AmazonCloudDirectoryUtils.java