org.chenillekit.access.utils
Class DummyUser
java.lang.Object
org.chenillekit.access.utils.DummyUser
- All Implemented Interfaces:
- org.chenillekit.access.WebSessionUser
public class DummyUser
- extends Object
- implements org.chenillekit.access.WebSessionUser
JavaBean used to store infos about the user currently logged
in. Typically the final user want to extend this one.
- Version:
- $Id: DummyUser.java 380 2008-12-30 10:21:52Z mlusetti $
|
Constructor Summary |
DummyUser(int roleWeigth)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyUser
public DummyUser(int roleWeigth)
getRoleWeight
public int getRoleWeight()
- get the role ids.
- Specified by:
getRoleWeight in interface org.chenillekit.access.WebSessionUser
- Returns:
- role ids
getGroups
public String[] getGroups()
- get the group names.
- Specified by:
getGroups in interface org.chenillekit.access.WebSessionUser
- Returns:
- group names
Copyright © 2008-2009 ChenilleKit. All Rights Reserved.