|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MutablePrincipalCollection
A PrincipalCollection that allows modification.
| Method Summary | |
|---|---|
void |
add(Object principal,
String realmName)
Adds the given principal to this collection. |
void |
addAll(Collection principals,
String realmName)
Adds all of the principals in the given collection to this collection. |
void |
addAll(PrincipalCollection principals)
Adds all of the principals from the given principal collection to this collection. |
void |
clear()
Removes all Principals in this collection. |
| Methods inherited from interface org.apache.shiro.subject.PrincipalCollection |
|---|
asList, asSet, byType, fromRealm, getPrimaryPrincipal, getRealmNames, isEmpty, oneByType |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
void add(Object principal,
String realmName)
principal - the principal to be added.realmName - the realm this principal came from.
void addAll(Collection principals,
String realmName)
principals - the principals to be added.realmName - the realm these principals came from.void addAll(PrincipalCollection principals)
principals - the principals to add.void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||