info.magnolia.cms.security.auth
Interface PrincipalList

All Superinterfaces:
Principal, Serializable
All Known Subinterfaces:
GroupList, RoleList
All Known Implementing Classes:
AbstractPrincipalList, GroupListImpl, RoleListImpl

public interface PrincipalList
extends Principal, Serializable

A list of Strings.

Version:
$Revision: $ ($Author: $)

Method Summary
 void add(String name)
          Add a name to the list.
 Collection<String> getList()
          Gets list of groups/roles as strings.
 String getName()
           
 boolean has(String name)
          Checks if the name exist in this list.
 void setName(String name)
           
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Method Detail

getName

String getName()
Specified by:
getName in interface Principal

setName

void setName(String name)

add

void add(String name)
Add a name to the list.


getList

Collection<String> getList()
Gets list of groups/roles as strings.


has

boolean has(String name)
Checks if the name exist in this list.



Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.