Interface MutablePrincipalCollection

    • Method Detail

      • add

        void add​( principal,
                  realmName)
        Adds the given principal to this collection.
        Parameters:
        principal - the principal to be added.
        realmName - the realm this principal came from.
      • addAll

        void addAll​( principals,
                     realmName)
        Adds all of the principals in the given collection to this collection.
        Parameters:
        principals - the principals to be added.
        realmName - the realm these principals came from.
      • addAll

        void addAll​(PrincipalCollection principals)
        Adds all of the principals from the given principal collection to this collection.
        Parameters:
        principals - the principals to add.
      • clear

        void clear()
        Removes all Principals in this collection.