|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.vfs2.UserAuthenticationData
public class UserAuthenticationData
Container for various authentication data.
Nested Class Summary | |
---|---|
static class |
UserAuthenticationData.Type
Inner class to represent portions of the user authentication data. |
Field Summary | |
---|---|
static UserAuthenticationData.Type |
DOMAIN
The user's domain. |
static UserAuthenticationData.Type |
PASSWORD
The password. |
static UserAuthenticationData.Type |
USERNAME
The user name. |
Constructor Summary | |
---|---|
UserAuthenticationData()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final UserAuthenticationData.Type USERNAME
public static final UserAuthenticationData.Type PASSWORD
public static final UserAuthenticationData.Type DOMAIN
Constructor Detail |
---|
public UserAuthenticationData()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |