|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.jaas.principal.AbstractPrincipalList
public abstract class AbstractPrincipalList
Implementation of the PrincipalList
providing most common functionality.
Constructor Summary | |
---|---|
protected |
AbstractPrincipalList()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.Principal |
---|
equals, hashCode |
Constructor Detail |
---|
protected AbstractPrincipalList()
Method Detail |
---|
public String getName()
getName
in interface PrincipalList
getName
in interface Principal
public void setName(String name)
setName
in interface PrincipalList
name
- public void add(String name)
add
in interface PrincipalList
name
- public Collection getList()
getList
in interface PrincipalList
public boolean has(String name)
has
in interface PrincipalList
name
- public String toString()
toString
in interface Principal
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |