AUTH::authenticate

Description

Performs a new authentication operation. This command returns an error if attempted for a standby system or while an authentication operation is already in progress for this authentication session.

Syntax

AUTH::authenticate <authid>

AUTH::authenticate <authid>

  • Performs a new authentication operation. This command returns an error if attempted for a standby system or while an authentication operation is already in progress for this authentication session.

Examples

when HTTP_REQUEST {
  AUTH::username_credential $auth_id [HTTP::username]
  AUTH::password_credential $auth_id [HTTP::password]
  AUTH::authenticate $auth_id
  HTTP::collect
}

when CLIENTSSL_CLIENTCERT {
  AUTH::cert_credential $tmm_auth_ssl_ocsp_sid [SSL::cert 0]
  AUTH::cert_issuer_credential $tmm_auth_ssl_ocsp_sid [SSL::cert issuer 0]
  AUTH::authenticate $tmm_auth_ssl_ocsp_sid
  SSL::handshake hold
  set id [SSL::sessionid]
}