org.mmbase.bridge
Interface User

All Known Implementing Classes:
BasicUser

public interface User

This User interface defines the storage for the authentication and authorization, so that information can be shared. This interface is NOT a container class for client related stuff, altrough this is possible. Notice that after the login on the cloud it is not certain that you will receive the same User interface back !

Version:
$Id: User.java,v 1.6 2002/01/31 10:05:09 pierre Exp $
Author:
Eduard Witteveen

Method Summary
 java.lang.String getIdentifier()
          Get the unique identifier for this user.
 java.lang.String getRank()
          Get the rank of this user.
 boolean isValid()
          Is valid
 

Method Detail

getIdentifier

public java.lang.String getIdentifier()
Get the unique identifier for this user. This should be unique for every different user inside a cloud.
Returns:
an unique id for the current user

getRank

public java.lang.String getRank()
Get the rank of this user.
Returns:
the rank of this user

isValid

public boolean isValid()
Is valid
Returns:
true if the user is still valid. false if the user is expired..


MMBase build 1.6.5.20030923