|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.security.BasicUser
org.mmbase.security.implementation.cloudcontext.User
Implementation of UserContext (the security presentation of a User). Most implementation is delegated to the Users builder.
Users,
Serialized Form| Field Summary | |
protected long |
key
|
protected MMObjectNode |
node
|
| Fields inherited from class org.mmbase.security.BasicUser |
authenticationType |
| Constructor Summary | |
protected |
User(MMObjectNode n,
long l,
String app)
|
| Method Summary | |
boolean |
equals(Object o)
|
SortedSet |
getGroups()
|
String |
getIdentifier()
Gets the unique identifier for this user. |
protected long |
getKey()
|
MMObjectNode |
getNode()
An MMObjectNode (of type 'mmbaseusers') is associated with this User object. |
String |
getOwnerField()
Gets the owner field value of new objects created by this user. |
Rank |
getRank()
Gets the rank of this user. |
int |
hashCode()
|
boolean |
isValidNode()
|
boolean |
nodeLocalChanged(String machine,
String number,
String builder,
String ctype)
Called when a local node is changed. |
boolean |
nodeRemoteChanged(String machine,
String number,
String builder,
String ctype)
Called when a remote node is changed. |
| Methods inherited from class org.mmbase.security.BasicUser |
getAuthenticationType, isValid, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected MMObjectNode node
protected long key
| Constructor Detail |
protected User(MMObjectNode n,
long l,
String app)
| Method Detail |
public String getIdentifier()
BasicUser
getIdentifier in interface UserContextgetIdentifier in class BasicUser
public Rank getRank()
throws SecurityException
BasicUser
getRank in interface UserContextgetRank in class BasicUserSecurityExceptionpublic String getOwnerField()
BasicUser
getOwnerField in interface UserContextgetOwnerField in class BasicUserprotected long getKey()
public boolean isValidNode()
public SortedSet getGroups()
public MMObjectNode getNode()
public boolean nodeRemoteChanged(String machine,
String number,
String builder,
String ctype)
MMBaseObserver
nodeRemoteChanged in interface MMBaseObservermachine - Name of the machine that changed the node.number - Number of the changed node as a Stringbuilder - Type of the changed nodectype - command type, 'c'=changed, 'd'=deleted', 'r'=relations changed, 'n'=new
true
public boolean nodeLocalChanged(String machine,
String number,
String builder,
String ctype)
MMBaseObserver
nodeLocalChanged in interface MMBaseObservermachine - Name of the machine that changed the node.number - Number of the changed node as a Stringbuilder - Type of the changed nodectype - command type, 'c'=changed, 'd'=deleted', 'r'=relations changed, 'n'=new
truepublic boolean equals(Object o)
equals in class BasicUserpublic int hashCode()
hashCode in class BasicUser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||