Class WebDavProfile

java.lang.Object
org.craftercms.commons.config.profiles.ConfigurationProfile
org.craftercms.commons.config.profiles.webdav.WebDavProfile

public class WebDavProfile extends ConfigurationProfile
Holds the necessary information to connect to a WebDAV server.
Author:
joseross
  • Field Details

    • baseUrl

      protected String baseUrl
    • deliveryBaseUrl

      protected String deliveryBaseUrl
    • username

      protected String username
    • password

      protected String password
    • preemptiveAuth

      protected boolean preemptiveAuth
  • Constructor Details

    • WebDavProfile

      public WebDavProfile()
  • Method Details

    • getBaseUrl

      public String getBaseUrl()
      Returns the base url of the webdav server.
    • setBaseUrl

      public void setBaseUrl(String baseUrl)
      Sets the base url of the webdav server.
    • getDeliveryBaseUrl

      @Deprecated public String getDeliveryBaseUrl()
      Deprecated.
      The new service will ignore this property and use a /remote-assets/... URL instead
      Returns the base url to generate asset urls.
    • setDeliveryBaseUrl

      @Deprecated public void setDeliveryBaseUrl(String deliveryBaseUrl)
      Deprecated.
      The new service will ignore this property and use a /remote-assets/... URL instead
      Sets the base url to generate asset urls.
    • getUsername

      public String getUsername()
      Returns the username used to connect to the server.
    • setUsername

      public void setUsername(String username)
      Sets the username used to connect to the server.
    • getPassword

      public String getPassword()
      Returns the password used to connect to the server.
    • setPassword

      public void setPassword(String password)
      Sets the password used to connect to the server.
    • isPreemptiveAuth

      public boolean isPreemptiveAuth()
    • setPreemptiveAuth

      public void setPreemptiveAuth(boolean preemptiveAuth)