code: private void parseAuthorities(Element element, BeanDefinitionBuilder builder,
                                    ManagedList<AbstractBeanDefinition> authorityList) {
          NodeList authorities = element.getChildNodes();
  
          for (int i = 0; i < authorities.getLength(); i++) {
              Node node = authorities.item(i);
  
              if (!(node instanceof Element)) {
                  continue;
              }
  
              Element authority = (Element) node;
              BeanDefinitionBuilder authorityBuilder = BeanDefinitionBuilder
                      .genericBeanDefinition(PluginDefinition.Authority.class);
              addProperties(authority, authorityBuilder);
              authorityList.add(authorityBuilder.getBeanDefinition());
          }
      }
docs: Parse the authority list.
  
  @param element Root authority tag.
  @param builder Bean definition builder.
  @param authorityList List of authorities to return.