|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.test.mock.MockPrincipal
public class MockPrincipal
Mock implementation of Principal.
| Constructor Summary | |
|---|---|
MockPrincipal()
Construct a default Principal instance. |
|
MockPrincipal(String name)
Construct a Principal with the specified name. |
|
| Method Summary | |
|---|---|
String |
getName()
|
void |
setName(String name)
Set the name for this Principal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
|---|
equals, hashCode, toString |
| Constructor Detail |
|---|
public MockPrincipal()
Construct a default Principal instance.
public MockPrincipal(String name)
Construct a Principal with the specified name.
name - Name for this Principal| Method Detail |
|---|
public void setName(String name)
Set the name for this Principal.
name - The new namepublic String getName()
getName in interface Principal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||