|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opensymphony.ejb.AbstractEntityAdapter
com.opensymphony.ejb.ExceptionlessEntityAdapter
com.opensymphony.user.provider.ejb.entity.UserEJB
Entity bean representing User. Stores name and hashed password.
| Field Summary |
| Fields inherited from class com.opensymphony.ejb.AbstractEntityAdapter |
context, sequenceName |
| Constructor Summary | |
UserEJB()
|
|
| Method Summary | |
boolean |
authenticate(java.lang.String password)
Verify that supplied password matches that of user. |
java.lang.Long |
ejbCreate(java.lang.String name)
Create new User with given name. |
void |
ejbPostCreate(java.lang.String name)
|
java.util.List |
getGroupNames()
|
abstract java.util.Set |
getGroups()
Set of roles for this user |
abstract java.lang.Long |
getId()
Unique primary key of User. |
abstract java.lang.String |
getName()
Get login name of User. |
abstract java.lang.String |
getPasswordHash()
|
com.opensymphony.module.propertyset.PropertySet |
getPropertySet()
User's PropertySet. |
boolean |
inGroup(java.lang.String groupName)
|
boolean |
removeGroup(java.lang.String name)
|
void |
setEntityContext(javax.ejb.EntityContext context)
Required to implement EntityBean. |
abstract void |
setGroups(java.util.Set groups)
|
abstract void |
setId(java.lang.Long id)
|
abstract void |
setName(java.lang.String name)
|
void |
setPassword(java.lang.String password)
|
abstract void |
setPasswordHash(java.lang.String passwordHash)
|
void |
unsetEntityContext()
Required to implement EntityBean. |
| Methods inherited from class com.opensymphony.ejb.ExceptionlessEntityAdapter |
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, getEntityContext |
| Methods inherited from class com.opensymphony.ejb.AbstractEntityAdapter |
generateGUID, locatePropertySet, nextId, nextInt, nextLong, setContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.ejb.EntityBean |
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore |
| Constructor Detail |
public UserEJB()
| Method Detail |
public void setEntityContext(javax.ejb.EntityContext context)
sequenceName.
setEntityContext in interface javax.ejb.EntityBeanpublic abstract void setId(java.lang.Long id)
public abstract java.lang.Long getId()
public abstract void setName(java.lang.String name)
public abstract java.lang.String getName()
public abstract void setPasswordHash(java.lang.String passwordHash)
public abstract java.lang.String getPasswordHash()
public java.util.List getGroupNames()
public abstract void setGroups(java.util.Set groups)
public abstract java.util.Set getGroups()
public void setPassword(java.lang.String password)
public com.opensymphony.module.propertyset.PropertySet getPropertySet()
public boolean authenticate(java.lang.String password)
public java.lang.Long ejbCreate(java.lang.String name)
throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic void ejbPostCreate(java.lang.String name)
public boolean inGroup(java.lang.String groupName)
public boolean removeGroup(java.lang.String name)
public void unsetEntityContext()
unsetEntityContext in interface javax.ejb.EntityBean
|
See www.opensymphony.com for more information. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||