|
||||||||||
| 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(java.lang.String domain,
java.lang.String username,
java.lang.String password)
|
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
UserAuthenticationData |
requestAuthentication(UserAuthenticationData.Type[] types)
Queries the given type from the user. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StaticUserAuthenticator(java.lang.String domain,
java.lang.String username,
java.lang.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 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||