Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OpenXPKI::SeOpenXPKI::UsereContributed:PerliDocumentationDatapool::GetEntry(3)

Name
       OpenXPKI::Server::Workflow::Activity::Tools::Datapool::GetEntry

Description
       This class sets an entry	in the Datapool.

Configuration
   Parameters
       In the activity definition, the following parameters must be set.  See
       the example that	follows.

       ds_namespace
	       The namespace to	use for	storing	the key-value pair. Generally
	       speaking, there are no rigid naming conventions.	The namespace
	       sys, however, is	reserved for internal server and system
	       related data.

       ds_key_param
	       The name	of the context parameter that contains the key for
	       this datastore entry.

       ds_value_param
	       The name	of the context parameter that contains the value for
	       this datastore entry.

	       Note: If	encryption is enabled, the parameter name must be
	       preceeded with an underscore.

       ds_default_value
	       The default value to be returned	if no record in	the datapool
	       is found. If preceeded with a dollar symbol '$',	then the
	       workflow	context	variable with the given	name will be used.

   Arguments
       The workflow action requires two	parameters that	are passed via the
       workflow	context. The names are set above with the ds_key_param and
       ds_value_param parameters.

   Return Value
       The resulting value is returned in the named-parameter list with	the
       key VALUE.

   Example
	 <action name="get_puk_from_datapool"
	   class="OpenXPKI::Server::Workflow::Activity::Tools::Datapool::GetEntry"
	   ds_namespace="puk_namespace"
	   ds_key_param="token_id"
	   ds_value_param="_puk">
	   <field name="token_id" label="Serial	number of Smartcard"/>
	 </action>

perl v5.24.1OpenXPKI::Server::Workflow::Activity::Tools::Datapool::GetEntry(3)

Name | Description | Configuration

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=OpenXPKI::Server::Workflow::Activity::Tools::Datapool::GetEntry&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help