Skip to main content

com.eruces.teagent.LDAPAuthenticationContext

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

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.

LDAPAuthenticationContext getInstance()

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

Returns: Returns a UPAuthenticationContext object.