Class TextMagicProperties

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

@RequiresModule(name="cas-server-support-sms-textmagic") public class TextMagicProperties extends Object implements CasFeatureModule, Serializable
Since:
5.1.0
See Also:
  • Constructor Details

    • TextMagicProperties

      public TextMagicProperties()
  • Method Details

    • getToken

      public String getToken()
      Secure token used to establish a handshake.
    • getUsername

      public String getUsername()
      Username authorized to use the service as the bind account.
    • isDebugging

      public boolean isDebugging()
      Check that whether debugging is enabled for this API client.
    • getPassword

      public String getPassword()
      set password for the first HTTP basic authentication.
    • getReadTimeout

      public int getReadTimeout()
      read timeout (in milliseconds).
    • getConnectTimeout

      public int getConnectTimeout()
      connect timeout (in milliseconds).
    • getUserAgent

      public String getUserAgent()
      Set the User-Agent header's value (by adding to the default header map).
    • isVerifyingSsl

      public boolean isVerifyingSsl()
      Should SSL connections be verified?
    • getWriteTimeout

      public int getWriteTimeout()
      write timeout (in milliseconds).
    • getApiKey

      public String getApiKey()
      set API key value for the first API key authentication.
    • getApiKeyPrefix

      public String getApiKeyPrefix()
      set API key prefix for the first API key authentication.
    • setToken

      public TextMagicProperties setToken(String token)
      Secure token used to establish a handshake.
      Returns:
      this.
    • setUsername

      public TextMagicProperties setUsername(String username)
      Username authorized to use the service as the bind account.
      Returns:
      this.
    • setDebugging

      public TextMagicProperties setDebugging(boolean debugging)
      Check that whether debugging is enabled for this API client.
      Returns:
      this.
    • setPassword

      public TextMagicProperties setPassword(String password)
      set password for the first HTTP basic authentication.
      Returns:
      this.
    • setReadTimeout

      public TextMagicProperties setReadTimeout(int readTimeout)
      read timeout (in milliseconds).
      Returns:
      this.
    • setConnectTimeout

      public TextMagicProperties setConnectTimeout(int connectTimeout)
      connect timeout (in milliseconds).
      Returns:
      this.
    • setUserAgent

      public TextMagicProperties setUserAgent(String userAgent)
      Set the User-Agent header's value (by adding to the default header map).
      Returns:
      this.
    • setVerifyingSsl

      public TextMagicProperties setVerifyingSsl(boolean verifyingSsl)
      Should SSL connections be verified?
      Returns:
      this.
    • setWriteTimeout

      public TextMagicProperties setWriteTimeout(int writeTimeout)
      write timeout (in milliseconds).
      Returns:
      this.
    • setApiKey

      public TextMagicProperties setApiKey(String apiKey)
      set API key value for the first API key authentication.
      Returns:
      this.
    • setApiKeyPrefix

      public TextMagicProperties setApiKeyPrefix(String apiKeyPrefix)
      set API key prefix for the first API key authentication.
      Returns:
      this.