code: public T getProvider(final String id) {
          return (T) beanFactory.getBean(providerFactory.beanName(id));
      }
docs: Returns the provider assigned to the passed id.
  
  @param id - the id
  @return {@link MultifactorAuthenticationProvider}