Package de.dlr.proseo.usermgr.rest.model
Klasse RestUser
java.lang.Object
de.dlr.proseo.usermgr.rest.model.RestUser
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungThe authorities granted to this user (filtered by mission)protected Boolean
Flag indicating whether the user account is enabled.protected Date
The expiration date for the user account (default never)protected String
The user password (BCrypt-encrypted string; not required for updates)protected Date
The expiration date for the password (default never)protected RestQuota
Data download quota for this user (if not set, no quota applies)(Package privat) static final long
protected String
The (unique) user name, consisting of the mission code, a hyphen ("-") and the actual cross-mission user name -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Returns the authorities.@NotNull Boolean
Returns the enabled.Returns the expirationDate.Returns the password.Returns the passwordExpirationDate.@Valid RestQuota
getQuota()
Returns the quota.@NotNull String
Returns the username.int
hashCode()
void
setAuthorities
(List<String> authorities) Set the authorities.void
setEnabled
(Boolean enabled) Set the enabled.void
setExpirationDate
(Date expirationDate) Set the expirationDate.void
setPassword
(String password) Set the password.void
setPasswordExpirationDate
(Date passwordExpirationDate) Set the passwordExpirationDate.void
Set the quota.void
setUsername
(String username) Set the username.toString()
-
Felddetails
-
serialVersionUID
static final long serialVersionUID- Siehe auch:
-
username
The (unique) user name, consisting of the mission code, a hyphen ("-") and the actual cross-mission user name -
password
The user password (BCrypt-encrypted string; not required for updates) -
enabled
Flag indicating whether the user account is enabled. -
authorities
The authorities granted to this user (filtered by mission) -
expirationDate
The expiration date for the user account (default never) -
passwordExpirationDate
The expiration date for the password (default never) -
quota
Data download quota for this user (if not set, no quota applies)
-
-
Konstruktordetails
-
Methodendetails
-
getUsername
Returns the username.- Gibt zurück:
- username
-
setUsername
Set the username.- Parameter:
username
- the new username
-
getPassword
Returns the password.- Gibt zurück:
- password
-
setPassword
Set the password.- Parameter:
password
- the new password
-
getEnabled
Returns the enabled.- Gibt zurück:
- enabled
-
setEnabled
Set the enabled.- Parameter:
enabled
- the new enabled
-
getAuthorities
Returns the authorities.- Gibt zurück:
- authorities
-
setAuthorities
Set the authorities.- Parameter:
authorities
- the new authorities
-
getExpirationDate
Returns the expirationDate.- Gibt zurück:
- expirationDate
-
setExpirationDate
Set the expirationDate.- Parameter:
expirationDate
- the new expirationDate
-
getPasswordExpirationDate
Returns the passwordExpirationDate.- Gibt zurück:
- passwordExpirationDate
-
setPasswordExpirationDate
Set the passwordExpirationDate.- Parameter:
passwordExpirationDate
- the new passwordExpirationDate
-
getQuota
Returns the quota.- Gibt zurück:
- quota
-
setQuota
Set the quota.- Parameter:
quota
- the new quota
-
hashCode
public int hashCode() -
equals
-
toString
-