CONNECTION_AUTHN_SECURITY_PLUGIN global variable

This built-in global variable contains the security plug-in name that is used to establish the connection.

This global variable has the following characteristics:
  • It is read only, with values maintained by the system.
  • The type is VARCHAR(255).
  • The schema is SYSIBM.
  • The scope of this global variable is session.

Db2® sets the value as obtained from the security plug-in in use. This global variable is always assigned a value. If the client connects with IBM supplied JWT, the value is IBMaccesstokenauth. If the client connects by using server authentication, the value is IBMOSauthserver. If the client connects with GSSAPI plug-ins, the value is the name of the plug-in.