Upgrading 10.4 to 10.5
|
When migrating to a new Cadenza version:
Applying updates in sequence is strongly recommended, as skipping versions may lead to increased update effort. |
|
Users and Cadenza administrators find additional migration notes in the user documentation. |
Configuration Changes
New Mandatory Configuration
The following plugins now have mandatory configuration. They were previously technically optional but de facto required for sensible operation of the feature:
Changes to the accessmanager Configuration
The legacy CadenzaDb authenticator has been removed.
The corresponding settings have to be removed from the accessmanager configuration.
In addition, the OAuth authenticator has been replaced with the new Oidc authenticator.
This also results in several changes in its specific configuration, which are detailed in a separate chapter below.
The authenticators CadenzaDb and OAuth are no longer available as a value for
-
authenticators>authenticator>refid -
authenticators>authenticator>groupMapping>refid -
authenticators>authenticator>propertyMapping>refid -
userSuggestion>providers(>provider) -
userPrintNameSuggestion>providers(>provider)
Corresponding entries must be removed.
Path components in parentheses apply to XML configuration only and are omitted in YAML and environment properties configuration.
Instead of the OAuth authenticator, the new Oidc authenticator can be used as a value instead in the above-mentioned places.
The following settings must be removed completely, if present:
-
passwordEncryptor -
additionalLoginHelpLink -
autoLoginUserName -
securityPolicies -
polling -
authentication -
authorization
Changes to the basicweb Configuration
maxConcurrentUsers is now Optional
The basicWebConfiguration > management > maxConcurrentUsers setting in the basicweb configuration has been made optional.
Cadenza now defaults to 1000 maxConcurrentUsers. This value will be taken together with the allowed number of concurrent users in your Cadenza license and the smallest value will be used to determine the final concurrent user limit.
Most Cadenza licenses allow fewer than 1000 concurrent users and most installations don’t require more than 1000 concurrent users per node anyway.
This means that in most cases the configuration can be simplified by removing the maxConcurrentUsers option.
If that was all that you had previously configured in the management section, you can now remove that entire section as well.
Changes to the messagebroker Configuration
The messagebroker > addressMappings setting must be removed, if present.
Changes to the gisterm Configuration
The following settings were unused and should be removed from your configuration, if present:
-
tuning>capabilities>disposeOldRasterDataOnNavigation -
tuning>imageCatalog: remove theimageCatalogsetting and its children -
tuning>restrictions>selectorLayer: remove theselectorLayersetting and its children
Removed Plugins
The following plugins must be removed if present or Cadenza will not start:
-
Gis_DataSource_Csv -
Gis_DataSource_GeoPackage -
Gis_DataSource_OsmRaster -
Gis_DataSource_SpatiaLite -
Gis_Offline -
Gis_Raster_Cache
OAuth Configuration Reworked and Renamed to OIDC
Several extensions to our support for OpenID Connect (short: OIDC) authentication have made an overhaul of the configuration necessary. At that point, we have renamed the plugin and configuration and reworked it to better reflect its scope.
Changed plugin and configuration
The plugin Accessmanager_OAuth is no longer supported.
If this plugin was previously used, it must be replaced with the plugin Accessmanager_Oidc and the accessmanageroauth settings must be replaced with the accessmanageroidc settings.
See also the example configuration.
Some main changes to it:
-
The root element in XML configuration is now
accessmanagerOidcConfigurationinstead ofaccessmanagerOAuthConfiguration -
In YAML configuration the settings are now under
accessmanageroidc -
The structure has changed, all non-root elements are bundled under the new element
identityProvider. -
The new optional
issuerUrlelement can be used to discover several other configuration elements including, for example, thepublicKey. Discovery (of the publicKey) enables Cadenza to support the OpenID Connect Key Rollover process. The discoverable elements are therefore optional in the configuration if discovery via theissuerUrlis used. If discovery is enabled and a discoverable element is configured, then the configured value is used instead. These are the discoverable elements:-
publicKeyincluding itstypeand the signaturealgorithm -
authenticationUrl -
tokenUrl -
logoutUrl -
adminServiceUrl
-
-
The
adminServiceelement has been split into definition of its used provider and the discoverableadminServiceUrl. -
The
relyingPartyInitiatedLogoutelement has been split into the boolean to define if it is used and the discoverablelogoutUrl. -
The
allowTokenPassthroughis now optional with the defaultfalse. It is no longer required for therelyingPartyInitiatedLogout. -
The
publicKeynow also has the attributealgorithm(was formerly the separate elementsignatureAlgorithm). -
The
publicKeyis now required with its attributes if discovery via theissuerUrlis not enabled. -
The
groupMappingnow has the identical configuration options as the groupMapping in JWT. So it now also supports JSONPaths in theclaimPathelement and with this replaced the old way of configuring groups via theclaimValueStructure. In addition, thesimpleMappingwith its attributes was adapted to be identical with thestaticMappingin JWT with its attributesclaimValueandgroupName. Be aware that thestatic mappingis now deprecated for Open ID Connect: Use thedynamic mappingin combination with the ui featureGroup mapping IDsinstead.
Changed authenticatorId
The authenticatorId OAuth is no longer supported, use OIDC instead for OpenID Connect in the accessmanager as mentioned in its separate chapter above.
Changed monitoring metrics
The metric class oauth was replaced with oidc. Further information can be read at Monitoring Metrics
Other Changes
Documentation is no Longer Included in the Cadenza Distribution
We no longer bundle a copy of the Cadenza Help and Learning documentation with the Cadenza distribution. This reduces the size of our Docker image and WAR file significantly, and the Cadenza documentation is now fully available online.
If you need to host the documentation in your own infrastructure, you can do so with a new docker image we provide. See Self-Hosting Cadenza Documentation for more information on this.
Changed behavior for missing specific export setting format
Before this change, a missing export setting format in the core configuration could be used to disable exporting for a specific format, even when plugin and system privilege were enabled. Now, if an entry for a specific format is missing, the configured default values or the Cadenza default values are used instead.
Example: If the GPX export format is missing from the export settings, the export is no longer disabled. Instead, the default values are used, and the GPX export is enabled if the plugin and system privilege are enabled.