SMTP AUTH LOGIN Security Driver

The Uniface AUTH LOGIN security driver provides SMTP authentication using basic authentication.

activate"UPOPMAIL".SetSecurity(DriverProperties, DriverParameters)

activate"UPOPMAIL".GetSecurity(DriverNumber, "SMTP=", RuntimeInfo)

Parameters

  • DriverProperties—Uniface list with the following syntax:

    "SMTP=UAuthLoginSMTP {;USE=MAND | OPT"}

  • DriverParameters—Uniface list containing driver-specific parameters that are used during authentication. See Driver Parameters.
  • DriverNumber—number of the driver in the security context; usually 1.
  • "SMTP="—returns the DriverProperties string as used in the SetSecurity operation.
  • RuntimeInfo—Uniface list containing information provided by Uniface. The AUTH LOGIN driver does not provide extra runtime information.

For more information, see SetSecurity and GetSecurity .

Driver Parameters

LOGIN Parameters
Keyword Allowed Values Description
USER User User name to use for the login. Mandatory.

For Windows, this may need to be in the form Domain\User

PASSWORD Password Password to use for the login. Mandatory.

Assignment File

To use this driver, the assignment file must contain the following entry:

[USER_3GL]
Location\uauthlogin(UAuthLoginSMTP)

Description

Basic login authentication is not very secure and does not support session signing and encryption.

The compiled library uauthlogin is provided in the \common\bin (Windows) or /common/lib (Unix) directory of your Uniface installation.

The source files for the security driver are available in the Security Driver Sample on Rocket Community .

Related Topics