com.opensymphony.user.provider.castor.entity
Class CastorUser

java.lang.Object
  extended bycom.opensymphony.user.provider.castor.entity.BaseCastorEntity
      extended bycom.opensymphony.user.provider.castor.entity.CastorUser
All Implemented Interfaces:
CastorEntity

public class CastorUser
extends BaseCastorEntity

This class is mapped to the database in the castor mapping.xml file

Author:
Dan Bachelder

Constructor Summary
CastorUser()
           
 
Method Summary
 boolean authenticate(java.lang.String password)
          Verify that supplied password matches that of user.
 java.lang.String getEmail()
           
 java.lang.String getFullName()
           
 java.util.ArrayList getGroups()
           
 java.lang.String getPasswordHash()
           
 void setEmail(java.lang.String email)
           
 void setFullName(java.lang.String name)
           
 void setGroups(java.util.ArrayList groups)
           
 void setPassword(java.lang.String password)
           
 void setPasswordHash(java.lang.String passwordHash)
           
 
Methods inherited from class com.opensymphony.user.provider.castor.entity.BaseCastorEntity
getId, getName, setId, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CastorUser

public CastorUser()
Method Detail

setEmail

public void setEmail(java.lang.String email)

getEmail

public java.lang.String getEmail()

setFullName

public void setFullName(java.lang.String name)

getFullName

public java.lang.String getFullName()

setGroups

public void setGroups(java.util.ArrayList groups)

getGroups

public java.util.ArrayList getGroups()

setPassword

public void setPassword(java.lang.String password)

setPasswordHash

public void setPasswordHash(java.lang.String passwordHash)

getPasswordHash

public java.lang.String getPasswordHash()

authenticate

public boolean authenticate(java.lang.String password)
Verify that supplied password matches that of user.


See www.opensymphony.com for more information.