Package org.apache.commons.vfs2
Interface UserAuthenticator
-
- All Known Implementing Classes:
StaticUserAuthenticator
public interface UserAuthenticator
The user authenticator is used to query credentials from the user. Since a UserAuthenticator is provided with theFileSystemOptionsto aFileSystemit should also implement reasonable equals and hashCode functions if the FileSystem should be shared.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserAuthenticationDatarequestAuthentication(UserAuthenticationData.Type[] types)Queries the given type from the user.
-
-
-
Method Detail
-
requestAuthentication
UserAuthenticationData requestAuthentication(UserAuthenticationData.Type[] types)
Queries the given type from the user.- Parameters:
types- An array containing the user's credentials- Returns:
- The UserAuthenticationData.
-
-