User role managed by a User Admin service.
In this context, the term "user" is not limited to just human beings. Instead, it refers to any entity that may have any number of credentials associated with it that it may use to authenticate itself.
In general, User objects are associated with a specific User Admin
service (namely the one that created them), and cannot be used with other
User Admin services.
A User object may have credentials (and properties, inherited from
the Role class) associated with it. Specific
UserAdminPermission objects are required to read or change a
User object's credentials.
Credentials are Dictionary objects and have semantics that are
similar to the properties in the Role class.
| Modifier and Type | Method and Description |
|---|---|
| public Dictionary | Returns: Dictionary object containing the credentials of this
User object.Returns a |
| public boolean | Returns: true if this user has the specified credential;
false otherwise.The credential key, Object key.The credential value)value.Checks to see if this |
| getCredentials | back to summary |
|---|---|
| public Dictionary Returns a
Only objects of type
In order to retrieve a credential from the returned
In order to add or remove a credential from the returned
| |
| hasCredential | back to summary |
|---|---|
| public boolean hasCredential(String key, Object value) Checks to see if this
If the specified credential
| |