public void open(PrincipalKeyCredential administratorCredential, String defaultRealm, Map<String, String> kerberosConfiguration)
      throws KerberosOperationException {

    setAdministratorCredential(administratorCredential);
    setDefaultRealm(defaultRealm);

    if (kerberosConfiguration != null) {
      setKeyEncryptionTypes(translateEncryptionTypes(kerberosConfiguration.get(KERBEROS_ENV_ENCRYPTION_TYPES), "\\s+"));
      setExecutableSearchPaths(kerberosConfiguration.get(KERBEROS_ENV_EXECUTABLE_SEARCH_PATHS));
    }
  }
Prepares and creates resources to be used by this KerberosOperationHandler.
<p/>
It is expected that this KerberosOperationHandler will not be used before this call.

@param administratorCredential a PrincipalKeyCredential containing the administrative credential
                               for the relevant KDC
@param defaultRealm            a String declaring the default Kerberos realm (or domain)
@param kerberosConfiguration   a Map of key/value pairs containing data from the kerberos-env configuration set
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/KerberosOperationHandler.java