Skip to main content

ERUCES::TELDAPPrincipalInfo

#include <teldapprincipal.h>

The TELDAPPrincipalInfo class represents a user authenticated by LDAP-based authentication protocols.

The TELDAPPrincipalInfo class is derived from the TEPrincipalInfo class.

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

Inheritance​

Static Public Attributes​

TypeNameDescription
_TESTD stringCLASSNAME

Public Member Functions​

MemberDescription
TELDAPPrincipalInfo()The TELDAPPrincipalInfo constructor is the default class constructor.
TELDAPPrincipalInfo(const TELDAPPrincipalInfo &)The TELDAPPrincipalInfo constructor copies a TELDAPPrincipalInfo object.
TELDAPPrincipalInfo & operator=(const TELDAPPrincipalInfo &)The = operator assigns a deep copy of the source's implementation object to this object (self-assignment safe; the previous implementation object is freed).
~TELDAPPrincipalInfo()The TELDAPPrincipalInfo destructor is the class destructor.
const _TESTD string getPrincipalName() constThe getPrincipalName method gets a principal name.
void setName(const _TESTD string &name)The setName method sets the LDAP principal name.
const _TESTD string getName() constThe getName method retrieves the LDAP principal name.
const _TESTD string getClassName() constThe getClassName method gets a TELDAPPrincipalInfo object's class name.
TEObject * clone() constThe clone method clones a TELDAPPrincipalInfo object.

Member Function Documentation​

TELDAPPrincipalInfo()​

The TELDAPPrincipalInfo constructor is the default class constructor.

TELDAPPrincipalInfo(const TELDAPPrincipalInfo &)​

The TELDAPPrincipalInfo constructor copies a TELDAPPrincipalInfo object.

TELDAPPrincipalInfo & operator=(const TELDAPPrincipalInfo &)​

The = operator assigns a deep copy of the source's implementation object to this object (self-assignment safe; the previous implementation object is freed).

TE81-448 (W36 round 1): until this round the implicit member copied the pointer, so the assignee and the source freed one object twice.

~TELDAPPrincipalInfo()​

The TELDAPPrincipalInfo destructor is the class destructor.

const _TESTD string getPrincipalName() const​

The getPrincipalName method gets a principal name.

Returns: Returns a string representing a principal name.

void setName(const _TESTD string &name)​

The setName method sets the LDAP principal name.

Parameters

ParameterDescription
nameA string representing the LDAP principal name.

const _TESTD string getName() const​

The getName method retrieves the LDAP principal name.

Returns: Returns a string representing the LDAP principal name.

const _TESTD string getClassName() const​

The getClassName method gets a TELDAPPrincipalInfo object's class name.

Returns: Returns a string representing the class name of a TELDAPPrincipalInfo object.

TEObject * clone() const​

The clone method clones a TELDAPPrincipalInfo object.

Returns: Returns a cloned TELDAPPrincipalInfo object.

Examples​