org.riotfamily.riot.security.auth
Class StaticRiotUserDao

java.lang.Object
  extended by org.riotfamily.riot.dao.support.RiotDaoAdapter
      extended by org.riotfamily.riot.security.auth.StaticRiotUserDao
All Implemented Interfaces:
RiotDao, RiotUserDao

public class StaticRiotUserDao
extends RiotDaoAdapter
implements RiotUserDao

Since:
6.5
Author:
Felix Gnass [fgnass at neteye dot de]

Constructor Summary
StaticRiotUserDao()
           
 
Method Summary
 RiotUser findUserByCredentials(String username, String password)
           
 RiotUser findUserById(String userId)
           
 void setPassword(String password)
           
 void setUsername(String username)
           
 void updatePassword(RiotUser user, String newPassword)
           
 
Methods inherited from class org.riotfamily.riot.dao.support.RiotDaoAdapter
delete, getEntityClass, getListSize, getObjectId, list, load, merge, save, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.riotfamily.riot.dao.RiotDao
delete, getEntityClass, getListSize, getObjectId, list, load, merge, save, update
 

Constructor Detail

StaticRiotUserDao

public StaticRiotUserDao()
Method Detail

setUsername

public void setUsername(String username)

setPassword

public void setPassword(String password)

findUserByCredentials

public RiotUser findUserByCredentials(String username,
                                      String password)
Specified by:
findUserByCredentials in interface RiotUserDao

findUserById

public RiotUser findUserById(String userId)
Specified by:
findUserById in interface RiotUserDao

updatePassword

public void updatePassword(RiotUser user,
                           String newPassword)
Specified by:
updatePassword in interface RiotUserDao