public void importStore(final Resource resource) {
        try {
            val map = from(resource);
            map.forEach(this::registerAttributeDefinition);
        } finally {
            LOGGER.debug("Loaded [{}] attribute definition(s).", attributeDefinitions.size());
        }
    }
Import store.

@param resource the resource
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/attribute/DefaultAttributeDefinitionStore.java