|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs2.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(StaticUserAuthenticator other)
|
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(StaticUserAuthenticator other)
compareTo in interface Comparable<StaticUserAuthenticator>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||