|
||||||||||
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(java.lang.String name)
Adds a name to the list. |
java.util.Collection |
getList()
Gets list of roles as string. |
java.lang.String |
getName()
Gets name given to this principal. |
boolean |
has(java.lang.String name)
Checks if the role name exist in this list. |
void |
setName(java.lang.String name)
Sets principal name. |
java.lang.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 java.lang.String getName()
getName
in interface PrincipalList
getName
in interface java.security.Principal
public void setName(java.lang.String name)
setName
in interface PrincipalList
name
- public void add(java.lang.String name)
add
in interface PrincipalList
name
- public java.util.Collection getList()
getList
in interface PrincipalList
public boolean has(java.lang.String name)
has
in interface PrincipalList
name
- public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |