Class AcmeProperties

java.lang.Object
org.apereo.cas.configuration.model.support.acme.AcmeProperties
All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-support-acme") public class AcmeProperties extends Object implements Serializable, CasFeatureModule
Since:
6.4.0
See Also:
  • Constructor Details

    • AcmeProperties

      public AcmeProperties()
  • Method Details

    • isTermsOfUseAccepted

      public boolean isTermsOfUseAccepted()
      Flag that indicates ACME terms of use has been accepted by the user.
    • getUserKey

      public SpringResourceProperties getUserKey()
      Define the user's key file as a resource.
    • getDomainKey

      public SpringResourceProperties getDomainKey()
      Define the domain's key file as a resource.
    • getDomainCsr

      public SpringResourceProperties getDomainCsr()
      Define the domains's CSR file as a resource.
    • getDomainChain

      public SpringResourceProperties getDomainChain()
      Define the domain's chain certificate file as a resource.
    • getKeySize

      public int getKeySize()
      Indicate the key length/size used when requesting/generating keys.
    • getServerUrl

      public String getServerUrl()
      Server url to contact, when requesting certificates. Use acme://letsencrypt.org for production.
    • getDomains

      public List<String> getDomains()
      List of domains or sub domains that are requesting a certificate renewal.
    • getRetryAttempts

      public int getRetryAttempts()
      Number of attempts to retry when executing certificate orders or checking for status of an existing order or challenge acknowledgement.
    • getRetryInternal

      public String getRetryInternal()
      Delay interval between to retry attempts when executing certificate orders or checking for status of an existing order or challenge acknowledgement.
    • setTermsOfUseAccepted

      public AcmeProperties setTermsOfUseAccepted(boolean termsOfUseAccepted)
      Flag that indicates ACME terms of use has been accepted by the user.
      Returns:
      this.
    • setUserKey

      public AcmeProperties setUserKey(SpringResourceProperties userKey)
      Define the user's key file as a resource.
      Returns:
      this.
    • setDomainKey

      public AcmeProperties setDomainKey(SpringResourceProperties domainKey)
      Define the domain's key file as a resource.
      Returns:
      this.
    • setDomainCsr

      public AcmeProperties setDomainCsr(SpringResourceProperties domainCsr)
      Define the domains's CSR file as a resource.
      Returns:
      this.
    • setDomainChain

      public AcmeProperties setDomainChain(SpringResourceProperties domainChain)
      Define the domain's chain certificate file as a resource.
      Returns:
      this.
    • setKeySize

      public AcmeProperties setKeySize(int keySize)
      Indicate the key length/size used when requesting/generating keys.
      Returns:
      this.
    • setServerUrl

      public AcmeProperties setServerUrl(String serverUrl)
      Server url to contact, when requesting certificates. Use acme://letsencrypt.org for production.
      Returns:
      this.
    • setDomains

      public AcmeProperties setDomains(List<String> domains)
      List of domains or sub domains that are requesting a certificate renewal.
      Returns:
      this.
    • setRetryAttempts

      public AcmeProperties setRetryAttempts(int retryAttempts)
      Number of attempts to retry when executing certificate orders or checking for status of an existing order or challenge acknowledgement.
      Returns:
      this.
    • setRetryInternal

      public AcmeProperties setRetryInternal(String retryInternal)
      Delay interval between to retry attempts when executing certificate orders or checking for status of an existing order or challenge acknowledgement.
      Returns:
      this.