From 0a10b06cc83c1ea7170c2199fb747a64d14d962f Mon Sep 17 00:00:00 2001 From: "Brian M. Long" Date: Mon, 5 May 2025 11:41:49 -0400 Subject: [PATCH] sync.externalId to externalId --- README.md | 2 +- .../activiti/auth/ActivitiAppAdministratorGroupFixer.java | 2 +- .../com/inteligr8/activiti/auth/service/GroupSyncService.java | 2 +- .../com/inteligr8/activiti/auth/service/UserSyncService.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4887c20..e5212b3 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ The following properties provide the core functionality of this extension. That | Property | Default | Description | | ---------------------------------------------- | --------- | ----------- | -| `auth-ext.sync.externalId` | `oauth` | This will serve as the external ID for users and as the prefix for the external ID of groups created by this extension. | +| `auth-ext.externalId` | `oauth` | This will serve as the external ID for users and as the prefix for the external ID of groups created by this extension. | | `auth-ext.tenant` | | A preselected tenant for all operations in this extension. Only required if there are multiple tenants. | | `auth-ext.sync.user.createMissing` | `true` | If the user is authenticated, the user may be created in APS. | | `auth-ext.sync.user.requireGroup` | | This is only applicable when `createMissing` is `true`. If this is unset or the OAuth Authorization Server gives the user the specified group/role, then the user record will be created in APS. | diff --git a/src/main/java/com/inteligr8/activiti/auth/ActivitiAppAdministratorGroupFixer.java b/src/main/java/com/inteligr8/activiti/auth/ActivitiAppAdministratorGroupFixer.java index c60f3b8..afcd6c6 100644 --- a/src/main/java/com/inteligr8/activiti/auth/ActivitiAppAdministratorGroupFixer.java +++ b/src/main/java/com/inteligr8/activiti/auth/ActivitiAppAdministratorGroupFixer.java @@ -64,7 +64,7 @@ public class ActivitiAppAdministratorGroupFixer implements DataFixer { @Value("${auth-ext.group.admins.name:Superusers}") private String adminGroupName; - @Value("${auth-ext.sync.externalId:oauth}") + @Value("${auth-ext.externalId:oauth}") protected String externalIdmSource; @Value("${auth-ext.group.admins.validate:false}") diff --git a/src/main/java/com/inteligr8/activiti/auth/service/GroupSyncService.java b/src/main/java/com/inteligr8/activiti/auth/service/GroupSyncService.java index 127541a..332a003 100644 --- a/src/main/java/com/inteligr8/activiti/auth/service/GroupSyncService.java +++ b/src/main/java/com/inteligr8/activiti/auth/service/GroupSyncService.java @@ -56,7 +56,7 @@ public class GroupSyncService { @Autowired private TenantFinderService tenantFinderService; - @Value("${auth-ext.sync.externalId:oauth}") + @Value("${auth-ext.externalId:oauth}") protected String externalIdmSource; @Value("${auth-ext.sync.group.createMissing:true}") diff --git a/src/main/java/com/inteligr8/activiti/auth/service/UserSyncService.java b/src/main/java/com/inteligr8/activiti/auth/service/UserSyncService.java index f559b60..b0b3874 100644 --- a/src/main/java/com/inteligr8/activiti/auth/service/UserSyncService.java +++ b/src/main/java/com/inteligr8/activiti/auth/service/UserSyncService.java @@ -36,7 +36,7 @@ public class UserSyncService { @Autowired private TenantFinderService tenantFinderService; - @Value("${auth-ext.sync.externalId:oauth}") + @Value("${auth-ext.externalId:oauth}") protected String externalIdmSource; @Value("${auth-ext.sync.user.createMissing:true}")