| Constructor and Description |
|---|
GenericUser() |
| Modifier and Type | Method and Description |
|---|---|
String |
describeMetadata()
Will return a JSON string description of an extending classes' fields.
|
String |
get(String property)
Retrieves a given property for this user object.
|
String |
getSource()
Used by the authentication manager to track the user's origin
|
String |
getUsername()
Retrieve the user's name
|
String |
realName()
Retrieves how the user should be shown on-screen.
|
void |
set(String property,
String value)
Sets a given property for this user object.
|
void |
setSource(String plugin)
Used by the authentication manager to track the user's origin
|
void |
setUsername(String newName)
Set user's name
|
public final String describeMetadata()
describeMetadata in interface Userproperty - The class field to retrievepublic final void set(String property, String value)
public String realName()
public void setUsername(String newName)
newName - public String getUsername()
public void setSource(String plugin)
Copyright © 2009-2013. All Rights Reserved.