Migrating from M6 to M7
(This page will be added to as development progresses).
Programming Model
previously | new |
---|---|
|
use |
|
use |
We provided introspection control via global config option
|
Use |
Imperative Object method |
The |
|
moved to |
SecMan’s |
Using Spring’s |
|
to |
Several |
into a new service |
Configuration
Following configuration options changed:
previously | new |
---|---|
|
(semantic equivalent) replacement for
(semantic equivalent) replacement for
|
|
register custom |
|
no replacement |
|
no replacement |
|
using localized NumberFormat instead, customize via |
|
using localized NumberFormat instead, customize via |
|
using localized NumberFormat instead, customize via |
|
using localized NumberFormat instead, customize via |
|
using localized NumberFormat instead, customize via |
|
using localized NumberFormat instead, customize via |
|
using localized NumberFormat instead, customize via |
|
using localized NumberFormat instead, customize via |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to |
|
defaults to (canonical) |
|
defaults to concatenation of |
SecMan’s |
use |
Password Hashing
SecMan provides a Jbcrypt based password encryption service.
We added an alternative based on Spring-Security.
To switch out the old vs the new replace IsisModuleExtSecmanEncryptionJbcrypt
with
IsisModuleExtSecmanEncryptionSpring
. However note, that the new password hashes are
not compatible with the old ones.
<dependency>
<groupId>org.apache.isis.extensions</groupId>
<artifactId>isis-extensions-secman-encryption-jbcrypt</artifactId>
</dependency>
<dependency>
<groupId>org.apache.isis.extensions</groupId>
<artifactId>isis-extensions-secman-encryption-spring</artifactId>
</dependency>
Security Integration
Wicket Viewer default authorized user role was renamed for generic reuse.
previously | new |
---|---|
|
use |
Maven Artifacts
-dn5
suffix was removed from artifacts, because we migrated DataNucleus 5.x to 6.x
<!--
<dependency>
<groupId>org.apache.isis.valuetypes</groupId>
<artifactId>isis-valuetypes-asciidoc-persistence-jdo-dn5</artifactId>
</dependency>
-->
<dependency>
<groupId>org.apache.isis.valuetypes</groupId>
<artifactId>isis-valuetypes-asciidoc-persistence-jdo</artifactId>
</dependency>
<!--
<dependency>
<groupId>org.apache.isis.valuetypes</groupId>
<artifactId>isis-valuetypes-markdown-persistence-jdo-dn5</artifactId>
</dependency>
-->
<dependency>
<groupId>org.apache.isis.valuetypes</groupId>
<artifactId>isis-valuetypes-markdown-persistence-jdo</artifactId>
</dependency>
Extensions
SecMan
New fields where added to the ApplicationUser
:
ALTER TABLE [isisExtensionsSecman].[ApplicationUser] ADD [language] VARCHAR(120) NULL
ALTER TABLE [isisExtensionsSecman].[ApplicationUser] ADD [numberFormat] VARCHAR(120) NULL
ALTER TABLE [isisExtensionsSecman].[ApplicationUser] ADD [timeFormat] VARCHAR(120) NULL
Following menu actions for roles have been removed:
<!--
<mb3:serviceAction objectType="isis.ext.secman.ApplicationRoleMenu" id="newRole"/>
<mb3:serviceAction objectType="isis.ext.secman.ApplicationRoleMenu" id="allRoles"/>
<mb3:serviceAction objectType="isis.ext.secman.ApplicationRoleMenu" id="newTenancy"/>
<mb3:serviceAction objectType="isis.ext.secman.ApplicationRoleMenu" id="allTenancies"/>
-->
Use the new Role Manager View Model instead:
<!-- Roles -->
<mb3:serviceAction objectType="isis.ext.secman.ApplicationRoleMenu" id="roleManager"/>
<!-- Tenancies -->
<mb3:serviceAction objectType="isis.ext.secman.ApplicationTenancyMenu" id="tenancyManager"/>