Package org.apache.commons.vfs
Class UserAuthenticationData
- java.lang.Object
-
- org.apache.commons.vfs.UserAuthenticationData
-
public class UserAuthenticationData extends java.lang.Object
Container for various authentication data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserAuthenticationData.Type
-
Field Summary
Fields Modifier and Type Field Description static UserAuthenticationData.Type
DOMAIN
static UserAuthenticationData.Type
PASSWORD
static UserAuthenticationData.Type
USERNAME
-
Constructor Summary
Constructors Constructor Description UserAuthenticationData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
deleted all data stored within this authenticatorchar[]
getData(UserAuthenticationData.Type type)
get a data from the collectionvoid
setData(UserAuthenticationData.Type type, char[] data)
set a data to this collection
-
-
-
Field Detail
-
USERNAME
public static final UserAuthenticationData.Type USERNAME
-
PASSWORD
public static final UserAuthenticationData.Type PASSWORD
-
DOMAIN
public static final UserAuthenticationData.Type DOMAIN
-
-
Method Detail
-
setData
public void setData(UserAuthenticationData.Type type, char[] data)
set a data to this collection
-
getData
public char[] getData(UserAuthenticationData.Type type)
get a data from the collection
-
cleanup
public void cleanup()
deleted all data stored within this authenticator
-
-