public static SamlMetadataUIInfo locateMetadataUserInterfaceForEntityId(
        final MetadataResolverAdapter metadataAdapter,
        final String entityId, final WebBasedRegisteredService registeredService,
        final HttpServletRequest requestContext) {
        val entityDescriptor = metadataAdapter.getEntityDescriptorForEntityId(entityId);
        return locateMetadataUserInterfaceForEntityId(entityDescriptor, entityId, registeredService, requestContext);
    }
Locate MDUI for entity id simple metadata ui info.

@param metadataAdapter   the metadata adapter
@param entityId          the entity id
@param registeredService the registered service
@param requestContext    the request context
@return the simple metadata ui info
support/cas-server-support-saml-mdui-core/src/main/java/org/apereo/cas/support/saml/mdui/MetadataUIUtils.java