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