| Constructor and Description |
|---|
TestPrincipal()
Constructs a new instance of
TestPrincipal. |
TestPrincipal(String name)
Constructs a new instance of
TestPrincipal with the provided user
as the current principal. |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
void |
setName(String name)
Changes the current principal.
|
public TestPrincipal()
TestPrincipal.public TestPrincipal(String name)
TestPrincipal with the provided user
as the current principal.name - the user to be used as the current principalCopyright © 2017. All rights reserved.