public class SimpleUserAuthenticator extends java.lang.Object implements org.apache.commons.vfs2.UserAuthenticator, java.lang.Comparable<SimpleUserAuthenticator>
Constructor and Description |
---|
SimpleUserAuthenticator() |
SimpleUserAuthenticator(java.lang.String username,
java.lang.String password)
This is a test javadoc
|
SimpleUserAuthenticator(java.lang.String domain,
java.lang.String username,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SimpleUserAuthenticator other) |
boolean |
equals(java.lang.Object obj) |
boolean |
equals(SimpleUserAuthenticator obj) |
boolean |
equals(org.apache.commons.vfs2.UserAuthenticator obj) |
int |
hashCode() |
org.apache.commons.vfs2.UserAuthenticationData |
requestAuthentication(org.apache.commons.vfs2.UserAuthenticationData.Type[] types) |
void |
setDomain(java.lang.String domain) |
void |
setPassword(java.lang.String password) |
void |
setUserName(java.lang.String userName) |
java.lang.String |
toString() |
public SimpleUserAuthenticator()
public SimpleUserAuthenticator(java.lang.String domain, java.lang.String username, java.lang.String password)
public SimpleUserAuthenticator(java.lang.String username, java.lang.String password)
username
- The user's namepassword
- The user's passwordpublic void setDomain(java.lang.String domain)
public void setUserName(java.lang.String userName)
public void setPassword(java.lang.String password)
public org.apache.commons.vfs2.UserAuthenticationData requestAuthentication(org.apache.commons.vfs2.UserAuthenticationData.Type[] types)
requestAuthentication
in interface org.apache.commons.vfs2.UserAuthenticator
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equals(SimpleUserAuthenticator obj)
public boolean equals(org.apache.commons.vfs2.UserAuthenticator obj)
public int compareTo(SimpleUserAuthenticator other)
compareTo
in interface java.lang.Comparable<SimpleUserAuthenticator>
public java.lang.String toString()
toString
in class java.lang.Object