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.http4 |
The HTTP4 File Provider
|
org.apache.commons.vfs2.provider.http5 |
The HTTP5 File Provider
|
org.apache.commons.vfs2.util |
Utility classes used by the VFS.
|
Modifier and Type | Method and Description |
---|---|
UserAuthenticationData |
UserAuthenticator.requestAuthentication(UserAuthenticationData.Type[] types)
Queries the given type from the user.
|
Modifier and Type | Method and Description |
---|---|
UserAuthenticationData |
StaticUserAuthenticator.requestAuthentication(UserAuthenticationData.Type[] types) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.net.ftp.FTPClient |
FTPClientWrapper.createClient(GenericFileName rootName,
UserAuthenticationData authData) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.protocol.HttpClientContext |
Http4FileProvider.createHttpClientContext(Http4FileSystemConfigBuilder builder,
GenericFileName rootName,
FileSystemOptions fileSystemOptions,
UserAuthenticationData authData)
Create an
HttpClientContext object for an http4 file system. |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hc.client5.http.protocol.HttpClientContext |
Http5FileProvider.createHttpClientContext(Http5FileSystemConfigBuilder builder,
GenericFileName rootName,
FileSystemOptions fileSystemOptions,
UserAuthenticationData authData)
Create an
HttpClientContext object for an http4 file system. |
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
UserAuthenticatorUtils.cleanup(UserAuthenticationData authData)
Cleans up the data in the UerAuthenticationData (null-safe).
|
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.