docs: private void checkObjectFactoryAttributes(ResourceInjectionBinding resourceBinding,
                                                ObjectFactoryInfo extensionFactory) // d675976
      throws InjectionConfigurationException
      {
          Resource resourceAnnotation = resourceBinding.getAnnotation();
  
          if (!extensionFactory.isAttributeAllowed("authenticationType"))
          {
              checkObjectFactoryAttribute(resourceBinding, "authenticationType",
                                          resourceAnnotation.authenticationType(), AuthenticationType.CONTAINER);
          }
  
          if (!extensionFactory.isAttributeAllowed("shareable"))
          {
              checkObjectFactoryAttribute(resourceBinding, "shareable",
                                          resourceAnnotation.shareable(), true);
          }
      }