org.mmbase.security.implementation.basic
Class NameContext

java.lang.Object
  |
  +--org.mmbase.security.UserContext
        |
        +--org.mmbase.security.implementation.basic.NameContext

public class NameContext
extends UserContext

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
NameContext(Rank rank)
           
 
Method Summary
 java.lang.String getIdentifier()
          Get the unique identifier for this user.
 Rank getRank()
           
 
Methods inherited from class org.mmbase.security.UserContext
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameContext

public NameContext(Rank rank)
Method Detail

getIdentifier

public java.lang.String getIdentifier()
Description copied from class: UserContext
Get the unique identifier for this user. This should be unique for every different user on the system.
Overrides:
getIdentifier in class UserContext
Following copied from class: org.mmbase.security.UserContext
Returns:
a unique identifier for this user.

getRank

public Rank getRank()
Overrides:
getRank in class UserContext


MMBase 2001