Skip to main content

com.eruces.teagent.Authentication

The Authentication class is the base of the client-side authentication schemes: getInstance selects one by TEAuthenticationType, and authenticate drives the initial, update and final exchange with the server.

Since: 3.0

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

Inheritance

Static Public Member Functions

MemberDescription
Authentication getInstance(TEAuthenticationType type)
Authentication getInstance(String strType)

Public Member Functions

MemberDescription
long authenticate(TEAgentConnection conn)

Member Function Documentation

Authentication getInstance(TEAuthenticationType type)

Deprecated

Parameters

ParameterDescription
type

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:

Authentication getInstance(String strType)

Deprecated

Parameters

ParameterDescription
strType

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: