JSON Web Token support in Db2 |
Here, at the conference, I learned about some JWT-related Db2 features which I wanted to share:
- The Db2 problem determination tool, db2pd, has an authntokencfg parameter. It allows to dump the in-memory information of the authentication token configuration. Thus, you can compare your stored configuration file (which you think might be active) and what Db2 actually has in use.
- When using database federation with Db2, you can use SSO_AUTH to tell Db2 to pass on any received authentication server to other database servers. See Single Sign-on based on JWT for some background reading and examples of JWT-based authentication and the new option to the CREATE SERVER statement.
That's my quick update from the IDUG conference. If you have feedback, suggestions, or questions about this post, please reach out to me on Twitter (@data_henrik) or LinkedIn.