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 ( ) ) ; } }
Parse the authority list .