|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs.auth.StaticUserAuthenticator
public class StaticUserAuthenticator
Provides always the same credentials data passed in with the constructor.
| Constructor Summary | |
|---|---|
StaticUserAuthenticator(String domain,
String username,
String password)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object obj)
|
int |
hashCode()
|
UserAuthenticationData |
requestAuthentication(UserAuthenticationData.Type[] types)
Queries the given type from the user. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StaticUserAuthenticator(String domain,
String username,
String password)
| Method Detail |
|---|
public UserAuthenticationData requestAuthentication(UserAuthenticationData.Type[] types)
UserAuthenticator
requestAuthentication in interface UserAuthenticatortypes - An array containing the user's credentials
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int compareTo(Object o)
compareTo in interface Comparablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||