public class UserAuthenticationData extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UserAuthenticationData.Type
Inner class to represent portions of the user authentication data.
|
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() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
deleted all data stored within this authenticator.
|
char[] |
getData(UserAuthenticationData.Type type)
get a data from the collection.
|
void |
setData(UserAuthenticationData.Type type,
char[] data)
set a data to this collection.
|
public static final UserAuthenticationData.Type USERNAME
public static final UserAuthenticationData.Type PASSWORD
public static final UserAuthenticationData.Type DOMAIN
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–2015 The Apache Software Foundation. All rights reserved.