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 the FileSystemOptions to a FileSystem it should also implement reasonable equals and hashCode functions if the FileSystem should be shared.

Author:
Commons VFS team

Method Summary
 UserAuthenticationData requestAuthentication(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.


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.