public String getLocalUsername() {
    return localUsername;
  }
Gets the local username associated with this principal

@return a String indicating the local username related to this principal, or null of not local
mapping is needed/available
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosPrincipalDescriptor.java