Skip to main content

com.eruces.teagent.AuthenticationContext

The AuthenticationContext class represents the authentication context in use.

Since: 3.1

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

Inheritance

Static Public Member Functions

MemberDescription
AuthenticationContext getInstance(String strType)Factory method to get authentication context.

Public Member Functions

MemberDescription
abstract void setSecret(Object objSec)The setSecret method sets secret authentication information.

Member Function Documentation

AuthenticationContext getInstance(String strType)

Factory method to get authentication context.

Deprecated

Parameters

ParameterDescription
strTypeA string representing an authentication context.

Exceptions

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

Returns: AuthenticationContext object

abstract void setSecret(Object objSec)

The setSecret method sets secret authentication information.

Deprecated

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).