Skip to main content

tech.pisoft.teagent.LDAPAuthenticationContext

The LDAPAuthenticationContext class implements user and password authentication using a secure remote password.

Since: 3.1

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

Inheritance​

Public Member Functions​

MemberDescription
LDAPAuthenticationContext()The LDAPAuthenticationContext constructor is the default class constructor.
void setUser(String strUser)The setUser method sets a username.
String getUser()The getUser method gets a username.
void setPasswd(String strPasswd)The setPasswd method sets a password.
void setSecret(Object objSec)The setSecret method sets secret authentication information.

Static Public Member Functions​

MemberDescription
LDAPAuthenticationContext getInstance()The getInstance method if a factory method that gets an instance of the UPAuthenticationContext class.

Member Function Documentation​

LDAPAuthenticationContext()​

The LDAPAuthenticationContext constructor is the default class constructor.

void setUser(String strUser)​

The setUser method sets a username.

Parameters

ParameterDescription
strUserA string representing a username.

String getUser()​

The getUser method gets a username.

Returns: Returns a string representing a username.

void setPasswd(String strPasswd)​

The setPasswd method sets a password.

Parameters

ParameterDescription
strPasswdA string representing a password.

void setSecret(Object objSec)​

The setSecret method sets secret authentication information.

Parameters

ParameterDescription
objSecA secret property object; both a username and a password object are needed.

Exceptions

ExceptionDescription
TEAgentExceptionif the request cannot be completed on the connection, or the Key Service returns an error for it (delivered as a TEServerException).

LDAPAuthenticationContext getInstance()​

The getInstance method if a factory method that gets an instance of the UPAuthenticationContext class.

Returns: Returns a UPAuthenticationContext object.