protected void process(String hostName, ResolvedKerberosKeytab resolvedKeytab,
                           ResolvedKerberosPrincipal resolvedPrincipal,
                           Map<String, ? extends Collection<String>> serviceComponentFilter) throws IOException {
      Map<String, String> keytabMap = new HashMap<>();
      keytabMap.put(KerberosIdentityDataFileReader.HOSTNAME, hostName);
      keytabMap.put(KerberosIdentityDataFileReader.PRINCIPAL, resolvedPrincipal.getPrincipal());
      keytabMap.put(KerberosIdentityDataFileReader.KEYTAB_FILE_PATH, resolvedKeytab.getFile());
      kcp.add(keytabMap);
    }
Performs the default behavior for processing the details of a particular Kerberos identity to
be added to the Kerberos command parameters.

Implementations will override this method to perform specified tasks.

@param hostName               the target hostname
@param resolvedKeytab         the relevant keytab file details
@param resolvedPrincipal      the relevant principal details
@param serviceComponentFilter the filter used to determine if the current Kerberos identity
                              should be processed
@throws IOException
ambari-server/src/main/java/org/apache/ambari/server/events/publishers/AgentCommandsPublisher.java