public class UserAuthenticationData extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
UserAuthenticationData.Type |
Represents a user authentication item.
|
| Modifier and Type | Field | Description |
|---|---|---|
static UserAuthenticationData.Type |
DOMAIN |
The user's domain.
|
static UserAuthenticationData.Type |
PASSWORD |
The password.
|
static UserAuthenticationData.Type |
USERNAME |
The user name.
|
| Constructor | Description |
|---|---|
UserAuthenticationData() |
Creates a new uninitialized instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
cleanup() |
Deletes all data stored within this authenticator.
|
char[] |
getData(UserAuthenticationData.Type type) |
Gets a data from the collection.
|
void |
setData(UserAuthenticationData.Type type,
char[] data) |
Sets a data to this collection.
|
public static final UserAuthenticationData.Type USERNAME
public static final UserAuthenticationData.Type PASSWORD
public static final UserAuthenticationData.Type DOMAIN
public UserAuthenticationData()
public void setData(UserAuthenticationData.Type type, char[] data)
type - The Type to adddata - The data associated with the Typepublic char[] getData(UserAuthenticationData.Type type)
type - The Type to retrieve.public void cleanup()