Interface NamedGroup
- All Superinterfaces:
Principal
An interface to represent a named group of principals.
- Author:
- Darran Lofthouse
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the suppliedPrincipalis a member of this group.Enumeration<? extends Principal>members()Return anEnumerationof thePrincipalinstances in this group.
-
Method Details
-
isMember
Check if the suppliedPrincipalis a member of this group.- Parameters:
member- ThePrincipalto check for group membership.- Returns:
trueif the suppliedPrincipalis a member of this group, otherwisefalse.
-
members
Enumeration<? extends Principal> members()Return anEnumerationof thePrincipalinstances in this group.- Returns:
- an
Enumerationof thePrincipalinstances in this group.
-