org.jbpm.identity
Class User
java.lang.Object
org.jbpm.identity.Entity
org.jbpm.identity.User
- All Implemented Interfaces:
- Serializable, Principal
public class User
- extends Entity
- implements Principal
user or a system.
- See Also:
- Serialized Form
password
protected String password
email
protected String email
memberships
protected Set memberships
User
public User()
User
public User(String name)
addMembership
public void addMembership(Membership membership)
getGroupsForGroupType
public Set getGroupsForGroupType(String groupType)
getGroupsForMembershipRole
public Set getGroupsForMembershipRole(String membershipRole)
setPassword
public void setPassword(String password)
getPassword
public String getPassword()
getMemberships
public Set getMemberships()
getEmail
public String getEmail()
setEmail
public void setEmail(String email)
equals
public boolean equals(Object obj)
- Specified by:
equals in interface Principal- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface Principal- Overrides:
hashCode in class Object
toString
public String toString()
- Specified by:
toString in interface Principal- Overrides:
toString in class Object
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.