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::WORKFLOW::VALIDATOR (3)

.ds Aq ’

Name

OpenXPKI::Server::Workflow::Validator

CONTENTS

SYNOPSIS



  my_validator
    class: OpenXPKI::Server::Workflow::Validator::MyValidatorClass
    param:     
      _map_path: [% context.key_in_context %]
    arg:
      - $cert_profile
      - $cert_subject_style
      - "[% context.other_key_in_context %]"



Description

A base clase for Validators, providing some magic for handling parameters and arguments.

    Parameter Mapping

All parameters (instance configuration), can use the _map syntax to resolve values from the context. @see OpenXPKI::Server::Workflow::Activity.

    Argument Parsing

The Workflow base class already replaces arguments starting with a dollar sign by the approprate context values. In addition, argument values starting with a template toolkit sequence [%... are parsed using OpenXPKI::Template with the full workflow context as parameters and the given argument as template.

Sub-Classing

To implement your own validator you need use Moose and inherit from this class. Please implement your code in a method called _validate, starting with and underscore!
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::SERVER::WORKFLOW::VALIDATOR (3) 2016-04-03

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