public class EncryptedUserAuthenticator extends java.lang.Object implements org.apache.commons.vfs2.UserAuthenticator, java.lang.Comparable<EncryptedUserAuthenticator>
Constructor and Description |
---|
EncryptedUserAuthenticator() |
EncryptedUserAuthenticator(Cryptor crypter) |
EncryptedUserAuthenticator(Cryptor crypter,
java.lang.String domain,
java.lang.String username,
java.lang.String password) |
EncryptedUserAuthenticator(java.lang.String username,
java.lang.String password) |
EncryptedUserAuthenticator(java.lang.String domain,
java.lang.String username,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EncryptedUserAuthenticator other) |
boolean |
equals(EncryptedUserAuthenticator obj) |
boolean |
equals(java.lang.Object obj) |
boolean |
equals(org.apache.commons.vfs2.UserAuthenticator obj) |
Cryptor |
getCryptor() |
int |
hashCode() |
org.apache.commons.vfs2.UserAuthenticationData |
requestAuthentication(org.apache.commons.vfs2.UserAuthenticationData.Type[] types) |
void |
setCryptor(Cryptor crypt)
Set Cryptor for encrypting/decrypting password
|
void |
setDomain(java.lang.String domain) |
void |
setEncryptedPassword(java.lang.String encryptedPassword)
Set an already encrypted password, which must be able to be decrypted
using this authenticator's Cryptor
|
void |
setPlainPassword(java.lang.String password)
Will encrypt password for internal storage using this authenticator's
Cryptor
|
void |
setUserName(java.lang.String userName) |
java.lang.String |
toString() |
public EncryptedUserAuthenticator()
public EncryptedUserAuthenticator(Cryptor crypter)
public EncryptedUserAuthenticator(Cryptor crypter, java.lang.String domain, java.lang.String username, java.lang.String password)
public EncryptedUserAuthenticator(java.lang.String domain, java.lang.String username, java.lang.String password)
public EncryptedUserAuthenticator(java.lang.String username, java.lang.String password)
public Cryptor getCryptor()
public void setCryptor(Cryptor crypt)
public void setDomain(java.lang.String domain)
public void setUserName(java.lang.String userName)
public void setPlainPassword(java.lang.String password)
public void setEncryptedPassword(java.lang.String encryptedPassword)
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(EncryptedUserAuthenticator obj)
public boolean equals(org.apache.commons.vfs2.UserAuthenticator obj)
public int compareTo(EncryptedUserAuthenticator other)
compareTo
in interface java.lang.Comparable<EncryptedUserAuthenticator>
public java.lang.String toString()
toString
in class java.lang.Object