GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  OPENXPKI::SERVER::NOTIFICATION::HANDLER (3)

.ds Aq ’

NAME



 OpenXPKI::Server::Notification::Handler



CONTENTS

Description

Interface to the new notification system. Checks the requested notification against all configured backends and starts the delivery according to the configuration.

Methods

    notify({ MESSAGE, WORKFLOW })

Execute the notifcations for MESSAGE and.

    notify({MESSAGE, WORKFLOW, TOKEN, DATA})

Public method to trigger a notification. MESSAGE is the name of the message to be triggered, WORKFLOW is a reference to the workflow object and TOKEN can contain persisted information from earlier calls of the same notification thread. DATA can contain additional info to be passed to the template.

The vars hash passed to the templates is composed from the data extracted from the workflow (@see _prepare_template_vars) and the data from the DATA variable, which is added under the key data.

    _prepare_template_vars ( WORKFLOW )

Creates a hashref containing useful values from the realm and the workflow.
realm info, from system.realms


    meta_pki_realm, meta_label, meta_baseurl



scalar values from the context


    csr_serial, cert_subject, cert_identifier, cert_profile



hashes from the context


    cert_subject_parts, cert_subject_alt_name, cert_info, approvals



misc


    requestor (real name of the requestor, assembled from cert_info.requestor_gname + requestor_name)



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::SERVER::NOTIFICATION::HANDLER (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.