public KerberosServiceDescriptor getService(String name) {
    return ((name == null) || (services == null)) ? null : services.get(name);
  }
Gets the KerberosServiceDescriptor with the specified name

@param name a String declaring the name of the KerberosServiceDescriptor to retrieve
@return the requested KerberosServiceDescriptor or null if not found
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosDescriptor.java