public class User
extends java.lang.Object
implements java.io.Serializable
SecurityAdministrator
,
Serialized FormConstructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName()
Returns the user's full display name.
|
java.lang.String |
getPassword()
Returns the user's password.
|
java.lang.String |
getRole()
Returns the name of the security role in which this user participates.
|
java.lang.String |
getUsername()
Returns a unique identifier for this user.
|
void |
setDisplayName(java.lang.String displayName)
Sets the user's full display name.
|
void |
setPassword(java.lang.String password)
Sets the user's password.
|
void |
setRole(java.lang.String role)
Sets the name of the security roles in which this user participates.
|
void |
setUsername(java.lang.String username)
Sets a unique identifier for this user.
|
public java.lang.String getDisplayName()
public java.lang.String getPassword()
public java.lang.String getRole()
public java.lang.String getUsername()
public void setDisplayName(java.lang.String displayName)
displayName
- The user's full display name.public void setPassword(java.lang.String password)
password
- The user's password.java.lang.IllegalArgumentException
- If password is null or empty.public void setRole(java.lang.String role)
role
- The name of the role in which this user participates. Cannot
be null.java.lang.IllegalArgumentException
- If role is null.public void setUsername(java.lang.String username)
username
- A unique identifier for this user.java.lang.IllegalArgumentException
- If username is null or empty.© 2000-2025 Flux Corporation. All rights reserved.