|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.fascinator.common.authentication.GenericUser
public class GenericUser
A basic user object, does not define its metadata schema, that is left to extending classes, but creates access methods against an unknown schema.
| Constructor Summary | |
|---|---|
GenericUser()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericUser()
| Method Detail |
|---|
public final String describeMetadata()
describeMetadata in interface Userproperty - The class field to retrieve
public final String get(String property)
get in interface Userproperty - The class field to retrieve
public final void set(String property,
String value)
set in interface Userproperty - The class field to retrievepublic String realName()
realName in interface Userpublic void setUsername(String newName)
newName - public String getUsername()
public void setSource(String plugin)
setSource in interface Userplugin - The id of the authentication pluginpublic String getSource()
getSource in interface User
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||