org.mmbase.security
Class UserContext

java.lang.Object
  |
  +--org.mmbase.security.UserContext
Direct Known Subclasses:
ContextUserContext, NameContext

public class UserContext
extends java.lang.Object

This UserContext class provides a storage for the authentication and authorization, so that information can be shared. This class is NOT a container class for client related stuff, altrough this is possible.


Constructor Summary
UserContext()
           
 
Method Summary
 java.lang.String getIdentifier()
          Get the unique identifier for this user.
 Rank getRank()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserContext

public UserContext()
Method Detail

getIdentifier

public java.lang.String getIdentifier()
Get the unique identifier for this user. This should be unique for every different user on the system.
Returns:
a unique identifier for this user.

getRank

public Rank getRank()
             throws SecurityException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


MMBase 2001