public class UserDef
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
alias
Truststore alias of the associated certificate entry; may be null
|
java.lang.String |
authPlugin
Custom authentication plugin class.
|
java.util.Date |
dateTime
Date and time password was last changed; may be null
|
boolean |
enabled
state of the account
|
java.lang.String[] |
groups
Group accounts where this user belongs; may be empty
|
int |
mode
Authorization mode override for this account.
|
byte[] |
password
Hashed password for this account; may be null if not protected.
|
java.lang.String |
person
account owner
|
java.lang.String |
plainPassword
Plain password for this account; used only to transfer new changes from the administration
client to the server over https.
|
boolean |
protect
Password protected account flag.
|
java.lang.String |
subjectId
user account name
|
Constructor and Description |
---|
UserDef() |
public java.lang.String subjectId
public boolean enabled
public java.lang.String person
public java.lang.String alias
public java.lang.String[] groups
public boolean protect
If set to true
, password protection is in effect for this
account. The password field is expected to be present. If no password
is given to the constructor, all binary zeros are used as the password
hash, making this account effectively disabled.
If set to false
, this account is not protected. The contents
of the password hash field does not matter and no check will be done.
public byte[] password
public java.lang.String plainPassword
public java.util.Date dateTime
public int mode
public java.lang.String authPlugin