Package org.apache.commons.vfs2
Class UserAuthenticationData
java.lang.Object
org.apache.commons.vfs2.UserAuthenticationData
Contains various authentication data.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classRepresents a user authentication item.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final UserAuthenticationData.TypeThe user's domain.static final UserAuthenticationData.TypeThe password.static final UserAuthenticationData.TypeThe user name.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcleanup()Deletes all data stored within this authenticator.char[]Gets a data from the collection.voidsetData(UserAuthenticationData.Type type, char[] data) Sets a data to this collection.
- 
Field Details- 
USERNAMEThe user name.
- 
PASSWORDThe password.
- 
DOMAINThe user's domain.
 
- 
- 
Constructor Details- 
UserAuthenticationDatapublic UserAuthenticationData()Creates a new uninitialized instance.
 
- 
- 
Method Details- 
cleanupDeletes all data stored within this authenticator.
- 
getDataGets a data from the collection.- Parameters:
- type- The Type to retrieve.
- Returns:
- a character array containing the data associated with the type.
 
- 
setDataSets a data to this collection.- Parameters:
- type- The Type to add
- data- The data associated with the Type
 
 
-