@PublicAPI public class ConnectionInfo extends Object implements Serializable
Constructor and Description |
---|
ConnectionInfo(String url,
String login,
String password,
File credentialFile,
boolean insecure) |
Modifier and Type | Method and Description |
---|---|
File |
getCredentialFile() |
String |
getLogin() |
String |
getPassword() |
String |
getUrl() |
boolean |
isInsecure() |
void |
setCredentialFile(File credentialFile) |
void |
setInsecure(boolean insecure) |
void |
setLogin(String login) |
void |
setPassword(String password) |
void |
setUrl(String url) |
public ConnectionInfo(String url, String login, String password, File credentialFile, boolean insecure)
url
- the REST server URLlogin
- the loginpassword
- the passwordcredentialFile
- path to a file containing encrypted credentialsinsecure
- if true the server certificate will not be verifiedpublic String getUrl()
public String getLogin()
public String getPassword()
public File getCredentialFile()
public boolean isInsecure()
public void setUrl(String url)
public void setLogin(String login)
public void setPassword(String password)
public void setCredentialFile(File credentialFile)
public void setInsecure(boolean insecure)