Class UserEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.UserEntity
- All Implemented Interfaces:
- Serializable,- User,- DbEntity,- HasDbRevision
- Direct Known Subclasses:
- LdapUserEntity
- Author:
- Tom Baeyens
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidprotected StringencryptPassword(String password, String salt) protected StringintgetEmail()getId()Returns a representation of the object, as would be stored in the database.intintgetSalt()booleanvoidsetAttempts(int attempts) voidsetDbPassword(String password) Special setter for MyBatis.voidvoidsetFirstName(String firstName) voidvoidsetLastName(String lastName) voidsetLockExpirationTime(Date lockExpirationTime) voidsetPassword(String password) voidsetRevision(int revision) voidtoString()
- 
Field Details- 
id
- 
revisionprotected int revision
- 
firstName
- 
lastName
- 
email
- 
password
- 
newPassword
- 
salt
- 
lockExpirationTime
- 
attemptsprotected int attempts
 
- 
- 
Constructor Details- 
UserEntitypublic UserEntity()
- 
UserEntity
 
- 
- 
Method Details- 
getPersistentStateDescription copied from interface:DbEntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
- getPersistentStatein interface- DbEntity
 
- 
getRevisionNextpublic int getRevisionNext()- Specified by:
- getRevisionNextin interface- HasDbRevision
 
- 
getId
- 
setId
- 
getFirstName- Specified by:
- getFirstNamein interface- User
 
- 
setFirstName- Specified by:
- setFirstNamein interface- User
 
- 
getLastName- Specified by:
- getLastNamein interface- User
 
- 
setLastName- Specified by:
- setLastNamein interface- User
 
- 
getEmail
- 
setEmail
- 
getPassword- Specified by:
- getPasswordin interface- User
 
- 
setPassword- Specified by:
- setPasswordin interface- User
 
- 
getSalt
- 
setSalt
- 
setDbPasswordSpecial setter for MyBatis.
- 
getRevisionpublic int getRevision()- Specified by:
- getRevisionin interface- HasDbRevision
 
- 
setRevisionpublic void setRevision(int revision) - Specified by:
- setRevisionin interface- HasDbRevision
 
- 
getLockExpirationTime
- 
setLockExpirationTime
- 
getAttemptspublic int getAttempts()
- 
setAttemptspublic void setAttempts(int attempts) 
- 
encryptPasswordpublic void encryptPassword()
- 
encryptPassword
- 
generateSalt
- 
checkPasswordAgainstPolicypublic boolean checkPasswordAgainstPolicy()
- 
hasNewPasswordpublic boolean hasNewPassword()
- 
toString
 
-