java.lang.Object
org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncConfig.Authorizable
org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncConfig.Group
Enclosing class:
DefaultSyncConfig

public static class DefaultSyncConfig.Group extends DefaultSyncConfig.Authorizable
Group specific config
  • Constructor Details

    • Group

      public Group()
  • Method Details

    • getDynamicGroups

      public boolean getDynamicGroups()

      Returns true if external group identities are being synchronized into the repository as dynamic groups. In this case a dedicated DynamicMembershipProvider must be present in order to have group membership reflected through User Management API.

      Note, that currently this option only takes effect if it is enabled together with dynamic membership (i.e. DefaultSyncConfig.User.getDynamicMembership() returns true). In this case a dedicated DynamicMembershipProvider based on the ExternalGroupPrincipalProvider will be registered.

      Returns:
      true if external groups should be synchronized as dynamic groups (i.e. without having their members added); false otherwise. Note, that this option currently only takes effect if DefaultSyncConfig.User.getDynamicMembership() is enabled.
    • setDynamicGroups

      @NotNull public @NotNull DefaultSyncConfig.Group setDynamicGroups(boolean dynamicGroups)
      Enable or disable the dynamic group option. If turned on together with DefaultSyncConfig.User.getDynamicMembership() external group identities will be synchronized into the repository but without storing their members. In other words, group membership is generated dynamically.
      Parameters:
      dynamicGroups - Boolean flag to enable or disable synchronization of dynamic groups.
      Returns:
      this
      See Also: