|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrincipalCollection
A collection of principals
.
Method Summary | |
---|---|
void |
add(Principal principal)
|
void |
clearAll()
|
boolean |
contains(Principal principal)
|
boolean |
contains(String name)
Checks if this collection contains object with the specified name. |
Principal |
get(String name)
Get principal associated to the specified name from the collection. |
String |
getName()
|
void |
remove(Principal principal)
|
void |
set(Collection collection)
|
void |
setName(String name)
|
Methods inherited from interface java.security.Principal |
---|
equals, hashCode, toString |
Method Detail |
---|
String getName()
getName
in interface Principal
void setName(String name)
void set(Collection collection)
void add(Principal principal)
void remove(Principal principal)
void clearAll()
boolean contains(Principal principal)
boolean contains(String name)
Principal get(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |