Class EveryonePrincipal

    • Method Detail

      • isMember

        public boolean isMember​(@NotNull
                                @NotNull Principal member)
        Description copied from interface: GroupPrincipal
        Returns true if the passed principal is a member of the group. This method does a recursive search, so if a principal belongs to a group which is a member of this group, true is returned.
        Specified by:
        isMember in interface GroupPrincipal
        Parameters:
        member - the principal whose membership is to be checked.
        Returns:
        true if the principal is a member of this group, false otherwise.
      • members

        @NotNull
        public @NotNull Enumeration<? extends Principal> members()
        Description copied from interface: GroupPrincipal
        Returns an enumeration of the members in the group. This includes both declared members and all principals that are indirect group members. The returned objects can be instances of either Principal or GroupPrincipal (which is a subclass of Principal).
        Specified by:
        members in interface GroupPrincipal
        Returns:
        an enumeration of the group members.