org.apache.commons.vfs.auth
Class StaticUserAuthenticator

java.lang.Object
  extended byorg.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.


Constructor Summary
StaticUserAuthenticator(String domain, String username, String password)
           
 
Method Summary
 UserAuthenticationData requestAuthentication(UserAuthenticationData.Type[] types)
          queries the given type from the user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticUserAuthenticator

public StaticUserAuthenticator(String domain,
                               String username,
                               String password)
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 interface UserAuthenticator


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