DOCS

Creating Custom Libraries for Authorization

This topic provides instructions for creating a custom library that retrieves authorization information from another application. You can use this library to supplement the Mobius authorization. See Administering Mobius for instructions on invoking the library.

The custom library must contain these procedures:

Procedure

Description

EXTGetReportList

Allocates memory for the report names and get the list of reports a recipient is authorized to access.

EXTFreeReportList

Releases the memory created by EXTGetReportList.

EXTGetSectionList

Allocates memory for the sections of the report and gets a list of sections that a recipient is authorized to access.

EXTFreeSectionList

Releases the memory created by EXTGetSectionList.

EXTValidateRecipientPrivilegedDeletionCredentials

Verifies that the recipient is authorized to delete unexpired retention periods.

To create the custom authorization library

1. Implement EXTGetReportList, according to Creating the EXTGetReportList Function.
2. Implement EXTFreeReportList, according to Creating the EXTFreeReportList Function.
3. Implement EXTGetSectionList, according to Creating the ExtGetSectionList Function.
4. Implement EXTFreeSectionList, according to Creating the EXTFreeSectionList Function.
5. Implement EXTValidateRecipientPrivilegedDeletionCredentials, according to Creating the EXTValidateRecipientPrivilegedDeletionCredentials Function.
6. Compile your authorization library according to Building the Custom Authentication Library.
7. Install your authorization library according to Installing the Custom Authentication Library.
  • You must include ServerAuthorizationAPI.h in the source file that implements the functions in the custom library.

  • Your environment determineswhere you implement the functions in the custom library.
  • For Windows, implement the functions in a DLL.
  • For Linux, implement the functions in a shared library.