Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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