public class FileTransferAuth extends Object
Constructor and Description |
---|
FileTransferAuth() |
FileTransferAuth(String user, char[] password, String serviceUrl)
Constructs authentication information for file transfer using long form of the user name.
|
FileTransferAuth(String user, char[] password, String serviceName, String serviceUrl, String identityDomain)
Constructs authentication information for file transfer.
|
FileTransferAuth(String user, String password, String serviceName, String serviceUrl, String identityDomain)
Deprecated.
As of release 2.1. Instead use the constructor that takes the password as a character array.
|
Modifier and Type | Method and Description |
---|---|
char[] |
getAuthPassword()
Returns the password.
|
String |
getIdentityDomain() |
String |
getPassword()
Deprecated.
For security reasons, this method is deprecated as of release 2.1. Use
getAuthPassword() instead. |
String |
getServiceName() |
String |
getServiceUrl() |
String |
getUser() |
void |
setAuthPassword(char[] password)
Set the password.
|
void |
setIdentityDomain(String identityDomain) |
void |
setPassword(String password)
Deprecated.
For security reasons, this method is deprecated as of release 2.1. Use
setAuthPassword(char[]) instead. |
void |
setServiceName(String serviceName) |
void |
setServiceUrl(String serviceUrl) |
void |
setUser(String user) |
public FileTransferAuth()
@Deprecated public FileTransferAuth(String user, String password, String serviceName, String serviceUrl, String identityDomain)
user
- User name (role name or user e-mail address)password
- password for the userserviceName
- service nameserviceUrl
- service URLidentityDomain
- identity domainpublic FileTransferAuth(String user, char[] password, String serviceName, String serviceUrl, String identityDomain)
user
- User name (role name or user e-mail address)password
- password for the userserviceName
- service nameserviceUrl
- service URLidentityDomain
- identity domainpublic FileTransferAuth(String user, char[] password, String serviceUrl)
Use this method for UUID based URLs. But it can also be used for identity domain and service name based URLs. The long form of the user name is of the following format:
user
- long form of the user namepassword
- password for the userserviceUrl
- service URLpublic String getUser()
public void setUser(String user)
public char[] getAuthPassword()
@Deprecated public String getPassword()
getAuthPassword()
instead.public void setAuthPassword(char[] password)
password
-@Deprecated public void setPassword(String password)
setAuthPassword(char[])
instead.password
-public String getServiceName()
public void setServiceName(String serviceName)
public String getServiceUrl()
public void setServiceUrl(String serviceUrl)
public String getIdentityDomain()
public void setIdentityDomain(String identityDomain)