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
OpenXPKI::Template::Plugin::Metadata(3) User Contributed Perl Documentation OpenXPKI::Template::Plugin::Metadata(3)

Plugin for Template::Toolkit to retrieve metadata via the config layer. The plugin can access any value below the metadata node in the realm.

You need to load the plugin into your template before using it. As we do not export the methods, you need to address them with the plugin name, e.g.

    [% USE Metadata %]
    [% Metadata.get(prefix, value, suffix) %]

Read a scalar value from the config layer at "metadata.prefix.value.suffix".

If prefix contain dots it is considered to be a connector path. Value is taken as single path item which can contain dots and can also be empty.

Suffix is optional, if set the call to prefix.value is done using get_hash and suffix must be the name of a key returned by this call.

Calls get_hash from the config layer at "metadata.prefix.value".

If prefix contain dots it is considered to be a connector path. Value is taken as single path item which can contain dots and can also be empty.

Split the given userid into namespace and user and call auth.creator.namespace.userid which will display the verbose name of the userid in the namespace.

If the userid does not contain a namespace or no username can be resolved, the method will return undef.

For items in the reserved namespaces the plugin method returns default values in case the node auth.creator.namespace does not exist. The namespace certid returns the full subject of the certificate, in system the literal name is returned.

2022-05-14 perl v5.32.1

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

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