org.apache.commons.vfs.auth
Class StaticUserAuthenticator
java.lang.Object
org.apache.commons.vfs.auth.StaticUserAuthenticator
- All Implemented Interfaces:
- UserAuthenticator
- public class StaticUserAuthenticator
- extends Object
- implements UserAuthenticator
provides always the same credential data passed in with the constructor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticUserAuthenticator
public StaticUserAuthenticator(String domain,
String username,
String password)
requestAuthentication
public UserAuthenticationData requestAuthentication(UserAuthenticationData.Type[] types)
- Description copied from interface:
UserAuthenticator
- queries the given type from the user
- Specified by:
requestAuthentication
in interface UserAuthenticator
Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.