CLIENT_USRSECTOKEN global variable

This built-in global variable contains a security token, as supplied by an application, usually from a multiple-tier server environment.

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

If an application does not supply a value, the value of the CLIENT_USRSECTOKEN global variable is NULL.

The value that is used for CLIENT_USERSECTOKEN can be set with the following APIs:
  • the userSecToken variable of the getDB2Connection (trusted reuse) and reuseDB2Connection (trusted connection reuse) APIs of the IBM® Data Server Driver for JDBC and SQLJ.

Notes

No privileges are granted to PUBLIC when the CLIENT_USRSECTOKEN global variable is created.