[MQ 10.0.0 Jun 2026]

TOKEN_ENDPOINT

The URI of the endpoint of a token provider.

Applicable Objects

ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory, XATopicConnectionFactory

JMS administration tool long name: TOKEN_ENDPOINT

JMS administration tool short name: TKEP

Programmatic access

Setters/getters
  • MQConnectionFactory.setTokenEndpoint()
  • MQConnectionFactory.getTokenEndpoint()

Values

null
This is the default value.
Any valid string
This must be a valid token provider URL.
Note: If you specify the TOKEN_ENDPOINT connection factory property:
  • The TOKEN_CLIENT_ID and TOKEN_CLIENT_SECRET properties are mandatory.
  • The USER_AUTHENTICATION_MQCSP connection factory property must be set to true.
  • You must not also specify UserId on the connection factory properties.
[MQ 10.0.0 Jun 2026]Note: You can add customized SSLSocketFactory settings with the TOKEN_SSL_SOCKET_FACTORY property to control how your application securely retrieves JWT tokens from HTTPS endpoints. If a client application provides the TOKEN_SSL_SOCKET_FACTORY, then the TOKEN_ENDPOINT property becomes mandatory and, if it is missing, an error message is returned to the client application. For more information, see Supplying a customized SSLSocketFactory in IBM® MQ classes for JMS/Jakarta Messaging.