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

.ds Aq ’

    get_action_info

Return the UI info for the named action.

Todo: Some of this code is duplicated in the OpenXPKI::Workflow::Config - might be useful to merge this into a helper. Might be useful in the API.

    authorize_workflow

Public wrapper around __authorize_workflow, boolean return (true if access it granted).

Name

OpenXPKI::Workflow::Factory - OpenXPKI specific workflow factory

CONTENTS

Description

This is the OpenXPKI specific subclass of Workflow::Factory. We need an OpenXPKI specific subclass because Workflow currently enforces that a Factory is a singleton. In OpenXPKI, we want to have several factory objects (one for each version and each PKI realm). The most important difference between Workflow::Factory and OpenXPKI::Workflow::Factory is in the instance() class method, which creates only one global instance in the original and a new one for each call in the OpenXPKI version.

In addition, the fetch_workflow() method has been modified to do ACL checks before returning the workflow to the caller. Typically, it also ’censors’ the workflow context by removing certain workflow context entries. Unfiltered access is possible via fetch_unfiltered_workflow() - please note that this is sort of an ACL circumvention and should only be used if really necessary (and should only be used to create a temporary object that is used to retrieve the relevant entries).

All methods return an object of class OpenXPKI::Server::Workflow, which is derived from Workflow base class and implements the pause/resume-features. see there for details.

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


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

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