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.8 2003/11/10 16:47:14 michiel Exp $
Author:
Eduard Witteveen

Method Summary
 java.lang.String getAuthenticationType()
          Returns the original authentication type as specified in getCloud
 java.lang.String getIdentifier()
          Get the unique identifier for this user.
 java.lang.String getOwnerField()
          Return the default owner field value for new nodes created by 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..

getOwnerField

public java.lang.String getOwnerField()
Return the default owner field value for new nodes created by this user.

Since:
MMBase-1.7

getAuthenticationType

public java.lang.String getAuthenticationType()
Returns the original authentication type as specified in getCloud

Since:
MMBase-1.7
See Also:
CloudContext.getCloud(java.lang.String)


MMBase build 1.7.1.20041002