Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When connecting to a Document Management System via the CMIS standard, you may need to use Json Web Tokens tokens for authentication purposes. This article describes the steps needed to configure the CMIS plugin to use JWT authentication. The CMIS plugin has the possibility to configure a custom authentication provider through the property 'blueriq.cmis.authProvider.classauthProviderClassName' in 'application-cmis-client.properties', a custom authentication provider for JWT is included in the CMIS plugin. Please note that when the property 'blueriq.cmis.authProvider.classauthProviderClassName' is set, basic authentication (blueriq.cmis.user, blueriq.cmis.password) is no longer applied.

...

To use the JWT authentication provider set 'blueriq.cmis.authProvider.classauthProviderClassName' to 'com.blueriq.component.cmis.client.impl.jwt.JwtAuthenticationProvider'. The claims to put in the JWT should be configured in 'application-cmis-client.properties'. All property names that start with 'blueriq.cmis.authProviderauthProviderConfiguration.jwt.claims.' are interpreted as claims with fixed values. For example 'blueriq.cmis.authProviderauthProviderConfiguration.jwt.claims.idp=digid' will add a claim named 'idp' with the value 'digid'. All properties for JWT have a descriptive comment in the 'application-cmis-client.properties' file.

...