org.mmbase.security.implementation.aselect
Class ASelectUser

Package class diagram package ASelectUser
java.lang.Object
  extended by org.mmbase.security.BasicUser
      extended by org.mmbase.security.implementation.aselect.ASelectUser
All Implemented Interfaces:
Serializable, Comparable<Object>, UserContext

public class ASelectUser
extends BasicUser

UserContext implementation for the ASelectAuthentiction implementation. Currently this implementation is about the most straight-forward user implementation possible: (A user has an identifier and a rank, both specified by the constructor).

Since:
MMBase-1.7
Version:
$Id: ASelectUser.java 42853 2010-07-11 11:14:18Z michiel $
Author:
Arnout Hannink (Alfa & Ariss), Michiel Meeuwissen (Publieke Omroep)
See Also:
ASelectAuthentication, Serialized Form

Field Summary
(package private)  long key
           
 
Fields inherited from class org.mmbase.security.BasicUser
authentication, authenticationType
 
Constructor Summary
ASelectUser(Authentication a, String name, Rank r, long uniqueNumber, String app)
           
 
Method Summary
 boolean equals(Object o)
           
 String getOwnerField()
           
 Rank getRank()
           
 
Methods inherited from class org.mmbase.security.BasicUser
compareTo, getAuthenticationType, getIdentifier, hashCode, isValid, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

key

long key
Constructor Detail

ASelectUser

public ASelectUser(Authentication a,
                   String name,
                   Rank r,
                   long uniqueNumber,
                   String app)
Method Detail

getOwnerField

public String getOwnerField()
Specified by:
getOwnerField in interface UserContext
Overrides:
getOwnerField in class BasicUser

getRank

public Rank getRank()
             throws SecurityException
Specified by:
getRank in interface UserContext
Overrides:
getRank in class BasicUser
Throws:
SecurityException

equals

public boolean equals(Object o)
Overrides:
equals in class BasicUser


MMBase ASelect 2.0-SNAPSHOT - 2013-03-30T06:51