Interface AutoMembershipConfig

    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of the sync handler for which this configuration takes effect.
        the sync handler name.
        See Also:
      • getAutoMembership

        @NotNull java.util.Set<java.lang.String> getAutoMembership​(@NotNull
                                                                   @NotNull Authorizable authorizable)
        Returns the group ids which the given synchronized external user/group should automatically be added as member.
        authorizable - An external identity that has been synchronized into the repository.
        A set of group ids which define the automatic membership for the given authorizable.
      • getAutoMembers

        java.util.Iterator<Authorizable> getAutoMembers​(@NotNull
                                                        @NotNull UserManager userManager,
                                                        @NotNull Group group)
        Best-effort attempt to retrieve all automatically defined members of the given Group.
        userManager - The user manager associated with the given group.
        group - The target group for which the known automatically added synced identities should be retrieved.
        An iterator of synced external identities. If the given group is not configured to hold any automatic members or if the implementation is not able to determined the members an empty iterator is returned.
        See Also:
        DynamicMembershipProvider.getMembers(Group, boolean)