This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch ISIS-3169 in repository https://gitbox.apache.org/repos/asf/isis.git
commit bc7bc7346fdd20d729ee2710f406e1b8c0a99f37 Author: Dan Haywood <[email protected]> AuthorDate: Tue Aug 23 18:04:55 2022 +0100 ISIS-3169: registers ApplicationUserAutoCreationService, doh! --- .../main/java/org/apache/isis/core/config/IsisConfiguration.java | 6 +++--- .../springoauth2/IsisModuleExtSecmanDelegatedSpringOauth2.java | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/core/config/src/main/java/org/apache/isis/core/config/IsisConfiguration.java b/core/config/src/main/java/org/apache/isis/core/config/IsisConfiguration.java index c6bb6c980b..83975f1eb4 100644 --- a/core/config/src/main/java/org/apache/isis/core/config/IsisConfiguration.java +++ b/core/config/src/main/java/org/apache/isis/core/config/IsisConfiguration.java @@ -3127,9 +3127,9 @@ public class IsisConfiguration { * The set of roles that users that have been automatically created are granted automatically. * * <p> - * Typically the regular user role (as per <code>isis.secman.seed.regular-user.role-name</code> - * will be one of the roles listed here; that will provide the ability for the end-user to logout, - * among other things (!). + * Typically the regular user role (as per <code>isis.secman.seed.regular-user.role-name</code>, + * default value of <code>isis-ext-secman-user</code>) will be one of the roles listed here, to + * provide the ability for the end-user to logout, among other things (!). * </p> */ private List<String> initialRoleNames = new ArrayList<>(); diff --git a/extensions/security/secman/delegated-springoauth2/src/main/java/org/apache/isis/extensions/secman/delegated/springoauth2/IsisModuleExtSecmanDelegatedSpringOauth2.java b/extensions/security/secman/delegated-springoauth2/src/main/java/org/apache/isis/extensions/secman/delegated/springoauth2/IsisModuleExtSecmanDelegatedSpringOauth2.java index 4d599bb42c..a7b574d3b1 100644 --- a/extensions/security/secman/delegated-springoauth2/src/main/java/org/apache/isis/extensions/secman/delegated/springoauth2/IsisModuleExtSecmanDelegatedSpringOauth2.java +++ b/extensions/security/secman/delegated-springoauth2/src/main/java/org/apache/isis/extensions/secman/delegated/springoauth2/IsisModuleExtSecmanDelegatedSpringOauth2.java @@ -23,13 +23,16 @@ import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import org.apache.isis.extensions.secman.applib.IsisModuleExtSecmanApplib; +import org.apache.isis.extensions.secman.delegated.springoauth2.dom.ApplicationUserAutoCreationService; /** * @since 2.0 {@index} */ @Configuration @Import({ - IsisModuleExtSecmanApplib.class + IsisModuleExtSecmanApplib.class, + + ApplicationUserAutoCreationService.class }) public class IsisModuleExtSecmanDelegatedSpringOauth2 {
