CipUX::Object::Action::List(3pm)

CipUX::Object::Action::List3pm

Object layer class for cipux

Usage

  use CipUX::Object::Action::List;

Version

version 3.4.0.5

Overview

Provides the functions cipux_object_create and cipux_object_destroy as well as some auto-calculated values for example for userPassword.

Abstract

The CipUX object layer is a generic abstract class, which can be used by other classes or scripts.

The function cipux_object_create may create one or several LDAP nodes according to the configuration structure in /etc/cipux/cipux-object.conf or ~/.cipux/cipux-object.conf.

The function cipux_object_destroy tries to remove one or more LDAP nodes.

Subroutines/methods

The following functions will be exported by CipUX::Object::Action::List.

new

Constructor

Syntax:

  my $cipux_object = CipUX::Object::Action::List->new({});
  my $cipux_object = CipUX::Object::Action::List->new({debug=>1});
  my $cfg = '/etc/cipux/cipux-object.conf';
  my $cipux_object = CipUX::Object::Action::List->new({cfg=>$cfg});

Description:

cfg

Configuration files may be provided for convenience. This is meant to work in a single-server scenario and multi-server settings.

The preset behavior is to throw an exception, when some parameter value of the configuration file is missing or is wrong.

Summary:

 * if a configuration file is given
      incorporate this file if it is there
   else
      look for ~/.cipux/cipux-object.conf and incorporate if it is there
   else
      look for /etc/cipux/cipux-object.conf and incorporate if it is there

/etc/cipux/cipux-object.conf

The configuration file is for dispatching multiple CipUX objects.

TODO: write conf structure!

For details see man page of cipux-object.conf.

Destroy

Mandatory DESTROY Method for Inside-Out Class.

Syntax:

   $i10n->DESTROY();

list_type

Creates a CipUX object

Syntax:

 $object->list_type({
                              });

preset

Creates a CipUX object

Syntax:

 $object->preset({
                              });

auto

Creates a CipUX object

Syntax:

 $object->auto({
                              });

mandatory

Creates a CipUX object

Syntax:

 $object->mandatory({
                              });

rule

Creates a CipUX object

Syntax:

 $object->rule({
                              });

alias

Creates a CipUX object

Syntax:

 $object->alias({
                              });

list_object_action

TODO

preset_auto_mandatory_rule_alias

Creates a CipUX object

Syntax:

 $object->preset_auto_mandatory_rule_alias({

});

oid_number_supremum

TODO

object

TODO

test_cfg

TODO

Demolish

TODO

config

TODO

Diagnostics

TODO

Configuration and environment

TODO

Dependencies

Carp Class:Std CipUX CipUX::Storage Pod::Usage Date::Manip

Incompatibilities

Not known.

Bugs and limitations

Not known.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7–8
  3. 9

Author

Christian Kuelker <[email protected]>

From libcipux-object-perl 3.4.0.5-2.1 in Debian 9 (Stretch). Parsed by carta from the page's man source.