Package org.apache.commons.vfs2
Class UserAuthenticationData
java.lang.Object
org.apache.commons.vfs2.UserAuthenticationData
Contains various authentication data.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Represents a user authentication item. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UserAuthenticationData.Type
The user's domain.static final UserAuthenticationData.Type
The password.static final UserAuthenticationData.Type
The user name. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
Deletes all data stored within this authenticator.char[]
Gets a data from the collection.void
setData
(UserAuthenticationData.Type type, char[] data) Sets a data to this collection.
-
Field Details
-
USERNAME
The user name. -
PASSWORD
The password. -
DOMAIN
The user's domain.
-
-
Constructor Details
-
UserAuthenticationData
public UserAuthenticationData()Creates a new uninitialized instance.
-
-
Method Details
-
cleanup
Deletes all data stored within this authenticator. -
getData
Gets a data from the collection.- Parameters:
type
- The Type to retrieve.- Returns:
- a character array containing the data associated with the type.
-
setData
Sets a data to this collection.- Parameters:
type
- The Type to adddata
- The data associated with the Type
-