net.sf.fridaymvc.security.accesscontroller
Class AbstractUser

java.lang.Object
  extended bynet.sf.fridaymvc.security.accesscontroller.AbstractUser
All Implemented Interfaces:
User

public abstract class AbstractUser
extends java.lang.Object
implements User

Version:
$Id: AbstractUser.java,v 1.1.1.1 2004/11/23 09:27:52 artsi Exp $
Author:
Arto Pastinen

Field Summary
protected  java.util.Set roles
           
 
Constructor Summary
AbstractUser()
           
 
Method Summary
 boolean addRole(Role role)
           
 java.util.Set getRoles()
           
 boolean removeRole(Role role)
           
 void setRoles(java.util.Set roles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roles

protected java.util.Set roles
Constructor Detail

AbstractUser

public AbstractUser()
Method Detail

getRoles

public java.util.Set getRoles()
Specified by:
getRoles in interface User
Returns:
Returns the roles.

setRoles

public void setRoles(java.util.Set roles)
Specified by:
setRoles in interface User
Parameters:
roles - The roles to set.

addRole

public boolean addRole(Role role)
Specified by:
addRole in interface User

removeRole

public boolean removeRole(Role role)
Specified by:
removeRole in interface User


Copyright © 2004 Friday MVC. All Rights Reserved.