public static String translate(KerberosPrincipalType type) {
    return (type == null)
        ? null
        : type.name().toLowerCase();
  }
Service principal.
<p/>
Typically in the form <code>service/host@REALM</code>.
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosPrincipalType.java