registerFunction("getEKM"); session_start(); $user = $_SESSION['user']; $in_xAjax = false; $xAjax_objResponse; include('IOB_inc.htm'); include('common_admin_inc.htm'); class EKMdata { var $primaryIP; var $primaryPort; // default is 3801 (decimal) var $secondaryIP; var $secondaryPort; // default is 3801 (decimal) function EKMdata( $primaryIP, $primaryPort, $secondaryIP, $secondaryPort ) { $this->primaryIP = $primaryIP; $this->primaryPort = $primaryPort; $this->secondaryIP = $secondaryIP; $this->secondaryPort = $secondaryPort; } }; // The php function that is called from JavaScript tough xAjax when the user selects a Blade. function getEKM() { // !?! NOTE: Not using this function - but I left it incase I wanted to switch to using it in the future. global $in_xAjax; // global $xAjax_objResponse; $user = $_SESSION['user']; $xAjax_objResponse = new xajaxResponse(); /// $in_xAjax = true; error_log("Calling get_ekm($user);"); $ekm_data = get_ekm( $user ); error_log("ekm_data = ". print_r($ekm_data, true) ); $xAjax_objResponse->assign("primIP", "value", $ekm_data->primaryIP ); $xAjax_objResponse->assign("primPort", "value", $ekm_data->primaryPort ); $xAjax_objResponse->assign("secIP", "value", $ekm_data->secondaryIP ); $xAjax_objResponse->assign("secPort", "value", $ekm_data->secondaryPort ); // Some Debug examples //$xAjax_objResponse->script('alert(xajax.$("testlevel[1]").value);'); //$xAjax_objResponse->script('alert(xajax.viewSource());'); /// $in_xAjax = false; return $xAjax_objResponse; } $xajax->processRequest(); /*******************************************************************************************/ // Handle the progress screen if opened and set the NEW data if ($_SERVER[REQUEST_METHOD] == "POST") { $operationInProgress = true; $status = new ReturnStatus(); $thePrimIP = $_POST['primIP']; $thePrimPort = (int)$_POST['primPort']; $theSecIP = $_POST['secIP']; $theSecPort = (int)$_POST['secPort']; $ekm_data = new EKMdata($thePrimIP, $thePrimPort, $theSecIP, $theSecPort); error_log("The data being set is: ". print_r($ekm_data, true) ); set_ekm( $user, $ekm_data ); print $status->out(); return; } else { // Load the data up on the get of the page. $ekm_data = get_ekm( $user ); } ?> printJavascript(); ?> Setup Encryption Key Management
Setup - EKM Server Access
Set up of Encryption Key Management Server access for Library Managed Encryption.

Encryption key management must be licensed to configure or use it.
Please click here to add a license key.

Note: These server settings are only used when a partition's encryption method is set to "Library Managed".

EKM Server settings
Primary EKM IP Address or Host:
Primary EKM port number:
Secondary EKM IP Address or Host:  (optional)
Secondary EKM port number: