|
3.0.1: 2011-11-10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
net.sf.basedb.core.data.SharedData
net.sf.basedb.core.data.CommonData
net.sf.basedb.core.data.FileServerData
public class FileServerData
File entries that are external files can be linked to a file server. This contains information about username/password and/or SSL keys that are required to access the server.
Field Summary | |
---|---|
private byte[] |
clientCertificate
|
private String |
clientPassword
|
private String |
connectionManagerFactory
|
private Set<FileData> |
files
|
private String |
host
|
static int |
MAX_CERTIFICATE_LENGTH
|
static int |
MAX_CONNECTION_MANAGER_FACTORY_LENGTH
|
static int |
MAX_HOST_LENGTH
|
static int |
MAX_PASSWORD_LENGTH
|
static int |
MAX_USERNAME_LENGTH
|
private String |
password
|
private byte[] |
serverCertificate
|
private String |
username
|
Fields inherited from interface net.sf.basedb.core.data.NameableData |
---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
Constructor Summary | |
---|---|
FileServerData()
|
Method Summary | |
---|---|
byte[] |
getClientCertificate()
Get the client certificate that we need to send to the server to make the server accept our connection. |
String |
getClientCertificatePassword()
Get the password that is used to unlock the client certificate. |
String |
getConnectionManagerFactory()
Get the ID of the connection manager factory that should be used to retreieve the file contents and metadata. |
(package private) Set<FileData> |
getFiles()
This is the inverse end. |
String |
getHost()
Get the name:port of the actual host to use for all files using this server (overrides the host specified in the file url) |
String |
getPassword()
Get the password that is used to login to the server. |
byte[] |
getServerCertificate()
Get the public server certificate indicating that we should trust https connections to the server. |
String |
getUsername()
Get the username that is used to login to the server. |
void |
setClientCertificate(byte[] clientCertificate)
|
void |
setClientCertificatePassword(String clientPassword)
|
void |
setConnectionManagerFactory(String connectionManagerFactory)
|
(package private) void |
setFiles(Set<FileData> files)
|
void |
setHost(String host)
|
void |
setPassword(String password)
|
void |
setServerCertificate(byte[] serverCertificate)
|
void |
setUsername(String username)
|
Methods inherited from class net.sf.basedb.core.data.CommonData |
---|
getDescription, getName, isRemoved, setDescription, setName, setRemoved |
Methods inherited from class net.sf.basedb.core.data.SharedData |
---|
getItemKey, getProjectKey, setItemKey, setProjectKey |
Methods inherited from class net.sf.basedb.core.data.OwnedData |
---|
getOwner, setOwner |
Methods inherited from class net.sf.basedb.core.data.BasicData |
---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
---|
getId, getVersion |
Methods inherited from interface net.sf.basedb.core.data.OwnableData |
---|
getOwner, setOwner |
Field Detail |
---|
public static final int MAX_CONNECTION_MANAGER_FACTORY_LENGTH
private String connectionManagerFactory
public static final int MAX_HOST_LENGTH
private String host
public static final int MAX_USERNAME_LENGTH
private String username
public static final int MAX_PASSWORD_LENGTH
private String password
public static final int MAX_CERTIFICATE_LENGTH
private byte[] serverCertificate
private byte[] clientCertificate
private String clientPassword
private Set<FileData> files
Constructor Detail |
---|
public FileServerData()
Method Detail |
---|
public String getConnectionManagerFactory()
public void setConnectionManagerFactory(String connectionManagerFactory)
public String getHost()
public void setHost(String host)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public byte[] getServerCertificate()
public void setServerCertificate(byte[] serverCertificate)
public byte[] getClientCertificate()
public void setClientCertificate(byte[] clientCertificate)
public String getClientCertificatePassword()
public void setClientCertificatePassword(String clientPassword)
Set<FileData> getFiles()
FileData.getFileServer()
void setFiles(Set<FileData> files)
|
3.0.1: 2011-11-10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |