public abstract class AbstractPrincipalList extends Object implements info.magnolia.cms.security.auth.PrincipalList
PrincipalList
providing most common functionality.Modifier | Constructor and Description |
---|---|
protected |
AbstractPrincipalList() |
Modifier and Type | Method and Description |
---|---|
void |
add(String name)
Adds a name to the list.
|
Collection |
getList()
Gets list of roles as string.
|
String |
getName()
Gets name given to this principal.
|
boolean |
has(String name)
Checks if the role name exist in this list.
|
void |
setName(String name)
Sets principal name.
|
String |
toString() |
public String getName()
public void setName(String name)
setName
in interface info.magnolia.cms.security.auth.PrincipalList
public void add(String name)
add
in interface info.magnolia.cms.security.auth.PrincipalList
public Collection getList()
getList
in interface info.magnolia.cms.security.auth.PrincipalList
public boolean has(String name)
has
in interface info.magnolia.cms.security.auth.PrincipalList
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.