Package org.apache.commons.vfs.auth
Class StaticUserAuthenticator
- java.lang.Object
-
- org.apache.commons.vfs.auth.StaticUserAuthenticator
-
- All Implemented Interfaces:
UserAuthenticator
public class StaticUserAuthenticator extends java.lang.Object implements UserAuthenticator
provides always the same credential data passed in with the constructor.
-
-
Constructor Summary
Constructors Constructor Description StaticUserAuthenticator(java.lang.String domain, java.lang.String username, java.lang.String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserAuthenticationData
requestAuthentication(UserAuthenticationData.Type[] types)
queries the given type from the user
-
-
-
Method Detail
-
requestAuthentication
public UserAuthenticationData requestAuthentication(UserAuthenticationData.Type[] types)
Description copied from interface:UserAuthenticator
queries the given type from the user- Specified by:
requestAuthentication
in interfaceUserAuthenticator
-
-