Skip to main content

ERUCES::TEAdminACL

#include <teadmin_acl.h>

The TEAdminACL class administrates access control list (ACL) Templates.

The TEAdminACL class

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

Inheritance

Public Types

enum ACL_TEMPLATE_MEMBER_UPDATE_OPERATION

ValueDescription
ACL_TEMPLATE_MEMBER_ADDAdd new ACL Template Member to ACLTemplate
ACL_TEMPLATE_MEMBER_UPDATEUpdate ACL Template Member in ACLTemplate
ACL_TEMPLATE_MEMBER_REMOVERemove ACL Template Member from ACLTemplate
ACL_TEMPLATE_UPDATEUpdate ACL Template

Public Member Functions

MemberDescription
TEAdminACL()The TEAdminACL constructor is the default class constructor.
~TEAdminACL()The TEAdminACL constructor is the class destructor.
void addACLTemplate(TEACLTemplate &acltemplate)The addACLTemplate method adds a new ACLTemplate object.
void removeACLTemplate(const TEACLTemplate &acltemplate)The removeACLTemplate method removes an ACLTemplate object.
void getACLTemplate(TEACLTemplate &acltemplate)The getACLTemplate method gets an ACLTemplate object.
void getACLTemplate(TEObjectContainer &container)The getACLTemplate method gets all ACLTemplates.
void updateACLTemplate(TEACLTemplate &aclt)The updateACLTemplate method updates an ACLTemplate.
void updateACLTemplateMember(TEACLTemplateMember &acltm, ACL_TEMPLATE_MEMBER_UPDATE_OPERATION op)The updateACLTemplateMember method updates an ACLTemplateMember.
void updateACLTemplateMember(TEObjectContainer &container, ACL_TEMPLATE_MEMBER_UPDATE_OPERATION op)The updateACLTemplateMember method updates multiple ACLTemplateMembers.
void addTemplatedDirectory(TETemplatedDirectory &dir)The addTemplatedDirectory method adds a new templated directory.
void removeTemplatedDirectory(const TETemplatedDirectory &dir)The removeTemplatedDirectory method removes a templated directory.
void getTemplatedDirectory(TETemplatedDirectory &dir)The getTemplatedDirectory method gets a templated directory.
void getTemplatedDirectory(TEObjectContainer &container)The getTemplatedDirectory method gets all templated directories.
void updateTemplatedDirectory(const TETemplatedDirectory &dir)The updateTemplatedDirectory method updates a templated directory.
void authorizePrincipal(const _TESTD string &hiddenlink, const _TESTD string &filename, bool decode=true)The authorizePrincipal method asks the Key Service whether the principal on this connection is authorized to use a TTag, optionally in the context of a named file. It returns normally when access is granted and raises a TEAdminException when it is refused.

Member Function Documentation

TEAdminACL()

The TEAdminACL constructor is the default class constructor.

~TEAdminACL()

The TEAdminACL constructor is the class destructor.

void addACLTemplate(TEACLTemplate &acltemplate)

The addACLTemplate method adds a new ACLTemplate object.

Parameters

ParameterDescription
acltemplateAn TEACLTemplate object representing the ACL template to be added.

void removeACLTemplate(const TEACLTemplate &acltemplate)

The removeACLTemplate method removes an ACLTemplate object.

Parameters

ParameterDescription
acltemplateAn TEACLTemplate object representing the ACL template to be removed.

void getACLTemplate(TEACLTemplate &acltemplate)

The getACLTemplate method gets an ACLTemplate object.

Parameters

ParameterDescription
acltemplateAn TEACLTemplate object representing the ACL template to be retrieved.

void getACLTemplate(TEObjectContainer &container)

The getACLTemplate method gets all ACLTemplates.

Parameters

ParameterDescription
containerA TEObjectContainer object for all ACLtemplates to be retrieved.

void updateACLTemplate(TEACLTemplate &aclt)

The updateACLTemplate method updates an ACLTemplate.

Parameters

ParameterDescription
acltAn TEACLTemplate object to be updated.

void updateACLTemplateMember(TEACLTemplateMember &acltm, ACL_TEMPLATE_MEMBER_UPDATE_OPERATION op)

The updateACLTemplateMember method updates an ACLTemplateMember.

Parameters

ParameterDescription
acltmACL template member to be updated.
opAn update flag. See ACL_TEMPLATE_MEMBER_UPDATE_OPERATION

void updateACLTemplateMember(TEObjectContainer &container, ACL_TEMPLATE_MEMBER_UPDATE_OPERATION op)

The updateACLTemplateMember method updates multiple ACLTemplateMembers.

Parameters

ParameterDescription
containerACL template members to be updated.
opAn update flag. See ACL_TEMPLATE_MEMBER_UPDATE_OPERATION

void addTemplatedDirectory(TETemplatedDirectory &dir)

The addTemplatedDirectory method adds a new templated directory.

Parameters

ParameterDescription
dirThe templated directory to be added.

void removeTemplatedDirectory(const TETemplatedDirectory &dir)

The removeTemplatedDirectory method removes a templated directory.

Parameters

ParameterDescription
dirThe templated directory to be removed.

void getTemplatedDirectory(TETemplatedDirectory &dir)

The getTemplatedDirectory method gets a templated directory.

Parameters

ParameterDescription
dirThe templated directory to be retrieved.

void getTemplatedDirectory(TEObjectContainer &container)

The getTemplatedDirectory method gets all templated directories.

Parameters

ParameterDescription
containerA container for all templated directory to be retrieved.

void updateTemplatedDirectory(const TETemplatedDirectory &dir)

The updateTemplatedDirectory method updates a templated directory.

Parameters

ParameterDescription
dirThe templated directory to be updated.

The authorizePrincipal method asks the Key Service whether the principal on this connection is authorized to use a TTag, optionally in the context of a named file. It returns normally when access is granted and raises a TEAdminException when it is refused.

Parameters

ParameterDescription
hiddenlinkThe TTag to be verified.
filenameA string representing the file name.
decodeTRUE- TTag is in encoded format, FALSE- TTag is in raw format

Examples