Package org.imixs.marty.security
Class UserId
java.lang.Object
org.imixs.marty.security.UserId
- All Implemented Interfaces:
Serializable
User object to provide a database for username/password/groups. The user
object is managed by the UserDBPlugin.
- Author:
- rsoika
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()returns the unique identifier for the Entity.It is important to rename the joinColum to 'ID' so the GlassFish jdbcRealm configuration will work on this columprotected voidvoidsetPassword(String password) Set the password.voidsetUserGroups(Set<UserGroup> groups)
-
Constructor Details
-
UserId
public UserId()default constructor for JPA -
UserId
A User will be automatically initialized with an id and password -
UserId
-
-
Method Details
-
getId
returns the unique identifier for the Entity.- Returns:
- universal id
-
setId
-
getPassword
-
setPassword
Set the password.- Parameters:
password-
-
getUserGroups
It is important to rename the joinColum to 'ID' so the GlassFish jdbcRealm configuration will work on this colum- Returns:
-
setUserGroups
-