Package | Description |
---|---|
org.apache.commons.vfs |
The public VFS API.
|
org.apache.commons.vfs.auth | |
org.apache.commons.vfs.provider.ftp |
The FTP File Provider.
|
org.apache.commons.vfs.provider.http | |
org.apache.commons.vfs.provider.sftp |
The SFTP Provider.
|
org.apache.commons.vfs.util |
Utility classes used by the VFS.
|
Modifier and Type | Field and Description |
---|---|
static UserAuthenticationData.Type |
UserAuthenticationData.DOMAIN |
static UserAuthenticationData.Type |
UserAuthenticationData.PASSWORD |
static UserAuthenticationData.Type |
UserAuthenticationData.USERNAME |
Modifier and Type | Method and Description |
---|---|
char[] |
UserAuthenticationData.getData(UserAuthenticationData.Type type)
get a data from the collection
|
UserAuthenticationData |
UserAuthenticator.requestAuthentication(UserAuthenticationData.Type[] types)
queries the given type from the user
|
void |
UserAuthenticationData.setData(UserAuthenticationData.Type type,
char[] data)
set a data to this collection
|
Modifier and Type | Method and Description |
---|---|
UserAuthenticationData |
StaticUserAuthenticator.requestAuthentication(UserAuthenticationData.Type[] types) |
Modifier and Type | Field and Description |
---|---|
static UserAuthenticationData.Type[] |
FtpFileProvider.AUTHENTICATOR_TYPES |
Modifier and Type | Field and Description |
---|---|
static UserAuthenticationData.Type[] |
HttpFileProvider.AUTHENTICATOR_TYPES |
Modifier and Type | Field and Description |
---|---|
static UserAuthenticationData.Type[] |
SftpFileProvider.AUTHENTICATOR_TYPES |
Modifier and Type | Method and Description |
---|---|
static UserAuthenticationData |
UserAuthenticatorUtils.authenticate(FileSystemOptions opts,
UserAuthenticationData.Type[] authenticatorTypes)
if there is a authenticator the authentication will take place, else null will be reutrned
|
static UserAuthenticationData |
UserAuthenticatorUtils.authenticate(UserAuthenticator auth,
UserAuthenticationData.Type[] authenticatorTypes)
if there is a authenticator the authentication will take place, else null will be reutrned
|
static char[] |
UserAuthenticatorUtils.getData(UserAuthenticationData data,
UserAuthenticationData.Type type,
char[] overwriddenValue)
gets data of given type from the UserAuthenticationData or null if there is no data or data of this type available
|