com.eruces.teagent.LDAPAuthenticationContext
The LDAPAuthenticationContext class implements user and password authentication using a secure remote password.
Inheritance
Public Member Functions
| Member | Description |
|---|---|
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
| Member | Description |
|---|---|
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
| Parameter | Description |
|---|---|
strUser | A 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
| Parameter | Description |
|---|---|
strPasswd | A string representing a password. |
void setSecret(Object objSec)
The setSecret method sets secret authentication information.
Parameters
| Parameter | Description |
|---|---|
objSec | A 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.