Class WebDavProfile
java.lang.Object
org.craftercms.commons.config.profiles.ConfigurationProfile
org.craftercms.commons.config.profiles.webdav.WebDavProfile
Holds the necessary information to connect to a WebDAV server.
- Author:
- joseross
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected booleanprotected StringFields inherited from class org.craftercms.commons.config.profiles.ConfigurationProfile
profileId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the base url of the webdav server.Deprecated.The new service will ignore this property and use a /remote-assets/...Returns the password used to connect to the server.Returns the username used to connect to the server.booleanvoidsetBaseUrl(String baseUrl) Sets the base url of the webdav server.voidsetDeliveryBaseUrl(String deliveryBaseUrl) Deprecated.The new service will ignore this property and use a /remote-assets/...voidsetPassword(String password) Sets the password used to connect to the server.voidsetPreemptiveAuth(boolean preemptiveAuth) voidsetUsername(String username) Sets the username used to connect to the server.Methods inherited from class org.craftercms.commons.config.profiles.ConfigurationProfile
equals, getProfileId, hashCode, setProfileId
-
Field Details
-
baseUrl
-
deliveryBaseUrl
-
username
-
password
-
preemptiveAuth
protected boolean preemptiveAuth
-
-
Constructor Details
-
WebDavProfile
public WebDavProfile()
-
-
Method Details
-
getBaseUrl
Returns the base url of the webdav server. -
setBaseUrl
Sets the base url of the webdav server. -
getDeliveryBaseUrl
Deprecated.The new service will ignore this property and use a /remote-assets/... URL insteadReturns the base url to generate asset urls. -
setDeliveryBaseUrl
Deprecated.The new service will ignore this property and use a /remote-assets/... URL insteadSets the base url to generate asset urls. -
getUsername
Returns the username used to connect to the server. -
setUsername
Sets the username used to connect to the server. -
getPassword
Returns the password used to connect to the server. -
setPassword
Sets the password used to connect to the server. -
isPreemptiveAuth
public boolean isPreemptiveAuth() -
setPreemptiveAuth
public void setPreemptiveAuth(boolean preemptiveAuth)
-