public interface MutablePrincipalCollection extends PrincipalCollection
PrincipalCollection that allows modification.
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object
Adds the given principal to this collection.
|
void |
addAll(Collection
Adds all of the principals in the given collection to this collection.
|
void |
addAll(PrincipalCollection
Adds all of the principals from the given principal collection to this collection.
|
void |
clear()
Removes all Principals in this collection.
|
asList, asSet, byType, fromRealm, getPrimaryPrincipal, getRealmNames, isEmpty, oneByTypeforEach, iterator, spliteratorvoid add(Objectprincipal, String realmName)
principal - the principal to be added.
realmName - the realm this principal came from.
void addAll(Collectionprincipals, String realmName)
principals - the principals to be added.
realmName - the realm these principals came from.
void addAll(PrincipalCollectionprincipals)
principals - the principals to add.
void clear()