LDAP Account Manager

ConfigDataImporter
in package

Importer for LAM's configuration data.

Table of Contents

getPossibleImportSteps()  : array<string|int, ImporterStep>
Returns a list of possible import objects.
runImport()  : mixed
Runs the actual import.
importAccountProfiles()  : void
Imports the account profiles.
importAccountProfileTemplates()  : void
Imports the account profile templates.
importCertificates()  : void
Imports the SSL certificates.
importCronJobs()  : void
Imports the cron jobs.
importMainConfig()  : void
Imports the main configuration.
importPdfProfiles()  : void
Imports the PDF profiles.
importPdfProfileTemplates()  : void
Imports the PDF profile templates.
importRequestAccess()  : void
Imports request access data.
importSelfServiceProfiles()  : void
Imports the self service profiles.
importServerProfiles()  : void
Imports the server profiles.
importWebauthn()  : void
Imports the webauthn data.

Methods

getPossibleImportSteps()

Returns a list of possible import objects.

public getPossibleImportSteps(string $json) : array<string|int, ImporterStep>
Parameters
$json : string

JSON data

Tags
throws
LAMException

if invalid format

Return values
array<string|int, ImporterStep>

steps

runImport()

Runs the actual import.

public runImport(array<string|int, ImporterStep$steps) : mixed
Parameters
$steps : array<string|int, ImporterStep>

import steps

Tags
throws
LAMException

if error occurred

Return values
mixed

importAccountProfileTemplates()

Imports the account profile templates.

private importAccountProfileTemplates(ImporterStep $step) : void
Parameters
$step : ImporterStep

step

Tags
throws
LAMException

error during import

Return values
void

importCertificates()

Imports the SSL certificates.

private importCertificates(null|string $data) : void
Parameters
$data : null|string

file content

Tags
throws
LAMException

error during import

Return values
void

importMainConfig()

Imports the main configuration.

private importMainConfig(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>

main config data

Tags
throws
LAMException

error during import

Return values
void

importSelfServiceProfiles()

Imports the self service profiles.

private importSelfServiceProfiles(ImporterStep $step) : void
Parameters
$step : ImporterStep

importer step

Tags
throws
LAMException

error saving profiles

Return values
void

Search results