Class CasEmbeddedApacheTomcatHttpProperties

java.lang.Object
org.apereo.cas.configuration.model.core.web.tomcat.CasEmbeddedApacheTomcatHttpProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-webapp-tomcat") public class CasEmbeddedApacheTomcatHttpProperties extends Object implements Serializable
Since:
5.3.0
See Also:
  • Constructor Details

    • CasEmbeddedApacheTomcatHttpProperties

      public CasEmbeddedApacheTomcatHttpProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Enable a separate port for the embedded container for HTTP access.
    • getPort

      public int getPort()
      The HTTP port to use.
    • getRedirectPort

      public int getRedirectPort()
      If this Connector is supporting non-SSL requests, this will automatically redirect the request to the port number specified here. Matching security constraints that require SSL transport will be auto-defined.
    • getProtocol

      public String getProtocol()
      HTTP protocol to use.
    • getScheme

      public String getScheme()
      Scheme used for the connector.
    • isSecure

      public boolean isSecure()
      Whether connector should run in secure mode.
    • getAttributes

      public Map<String,String> getAttributes()
      Additional attributes to be set on the connector.
    • setEnabled

      public CasEmbeddedApacheTomcatHttpProperties setEnabled(boolean enabled)
      Enable a separate port for the embedded container for HTTP access.
      Returns:
      this.
    • setPort

      public CasEmbeddedApacheTomcatHttpProperties setPort(int port)
      The HTTP port to use.
      Returns:
      this.
    • setRedirectPort

      public CasEmbeddedApacheTomcatHttpProperties setRedirectPort(int redirectPort)
      If this Connector is supporting non-SSL requests, this will automatically redirect the request to the port number specified here. Matching security constraints that require SSL transport will be auto-defined.
      Returns:
      this.
    • setProtocol

      public CasEmbeddedApacheTomcatHttpProperties setProtocol(String protocol)
      HTTP protocol to use.
      Returns:
      this.
    • setScheme

      public CasEmbeddedApacheTomcatHttpProperties setScheme(String scheme)
      Scheme used for the connector.
      Returns:
      this.
    • setSecure

      public CasEmbeddedApacheTomcatHttpProperties setSecure(boolean secure)
      Whether connector should run in secure mode.
      Returns:
      this.
    • setAttributes

      public CasEmbeddedApacheTomcatHttpProperties setAttributes(Map<String,String> attributes)
      Additional attributes to be set on the connector.
      Returns:
      this.