public class UserAuthenticationData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserAuthenticationData.Type
Represents a user authentication item.
|
| Modifier and Type | Field and Description |
|---|---|
static UserAuthenticationData.Type |
DOMAIN
The user's domain.
|
static UserAuthenticationData.Type |
PASSWORD
The password.
|
static UserAuthenticationData.Type |
USERNAME
The user name.
|
| Constructor and Description |
|---|
UserAuthenticationData()
Creates a new uninitialized instance.
|
| Modifier and Type | Method and 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()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.