Package | Description |
---|---|
org.apache.commons.vfs2 |
The public VFS API.
|
org.apache.commons.vfs2.auth |
VFS Authentication implementation
|
org.apache.commons.vfs2.provider.ftp |
The FTP File Provider.
|
org.apache.commons.vfs2.provider.http |
The HTTP File Provider
|
org.apache.commons.vfs2.provider.sftp |
The SFTP Provider.
|
org.apache.commons.vfs2.util |
Utility classes used by the VFS.
|
Modifier and Type | Field and Description |
---|---|
static UserAuthenticationData.Type |
UserAuthenticationData.DOMAIN
The user's domain.
|
static UserAuthenticationData.Type |
UserAuthenticationData.PASSWORD
The password.
|
static UserAuthenticationData.Type |
UserAuthenticationData.USERNAME
The user name.
|
Modifier and Type | Method and Description |
---|---|
int |
UserAuthenticationData.Type.compareTo(UserAuthenticationData.Type o) |
char[] |
UserAuthenticationData.getData(UserAuthenticationData.Type type)
Gets 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)
Sets 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
Authenticator types.
|
Modifier and Type | Field and Description |
---|---|
static UserAuthenticationData.Type[] |
HttpFileProvider.AUTHENTICATOR_TYPES
Authenticator information.
|
Modifier and Type | Field and Description |
---|---|
static UserAuthenticationData.Type[] |
SftpFileProvider.AUTHENTICATOR_TYPES
Authentication types.
|
Modifier and Type | Method and Description |
---|---|
static UserAuthenticationData |
UserAuthenticatorUtils.authenticate(FileSystemOptions options,
UserAuthenticationData.Type[] authenticatorTypes)
Authenticates if there is an authenticator, else returns null.
|
static UserAuthenticationData |
UserAuthenticatorUtils.authenticate(UserAuthenticator auth,
UserAuthenticationData.Type[] authenticatorTypes)
Authenticates if there is an authenticator, else returns null.
|
static char[] |
UserAuthenticatorUtils.getData(UserAuthenticationData data,
UserAuthenticationData.Type type,
char[] overriddenValue)
Gets data of given type from the UserAuthenticationData or null if there is no data or data of this type
available.
|
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.