|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.security.UserContext
A UserContext object is the result of an authentication, on which authorization can be based. Normally your authorization/authentication implementation will also provide an extension to this class. This default implementation is the most simple one, actually implementing 'no authorization' (because the rank is fixed to 'administrator'). This class is not necessarily also the container class for the client's credentials, although this is possible.
| Constructor Summary | |
UserContext()
|
|
| Method Summary | |
java.lang.String |
getIdentifier()
Gets the unique identifier for this user. |
java.lang.String |
getOwnerField()
Gets the owner field value of new objects created by this user. |
Rank |
getRank()
Gets the rank of this user. |
java.lang.String |
toString()
Gets a string representation of this user context (for debugging) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UserContext()
| Method Detail |
public java.lang.String getIdentifier()
public java.lang.String getOwnerField()
public Rank getRank()
throws SecurityException
SecurityExceptionpublic java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||