|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectflux.security.User
public class User
Contains information about a user. Changing any information through this User interface does not take effect until SecurityAdministrator.putUser() is called.
SecurityAdministrator
,
Serialized FormConstructor Summary | |
---|---|
User()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public User()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |