docs: public static ILdapServer getLdapServer(String name) {
          final ApplicationContext applicationContext =
                  PortalApplicationContextLocator.getApplicationContext();
  
          ILdapServer ldapServer = null;
          try {
              ldapServer = (ILdapServer) applicationContext.getBean(name, ILdapServer.class);
          } catch (NoSuchBeanDefinitionException nsbde) {
              // Ignore the exception for not finding the named bean.
          }
  
          if (LOG.isDebugEnabled()) {
              LOG.debug("Found ILdapServer='" + ldapServer + "' for name='" + name + "'");
          }
  
          return ldapServer;
      }