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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdditional attributes to be set on the connector.int
getPort()
The HTTP port to use.HTTP protocol to use.int
If this Connector is supporting non-SSL requests, this will automatically redirect the request to the port number specified here.Scheme used for the connector.boolean
Enable a separate port for the embedded container for HTTP access.boolean
isSecure()
Whether connector should run in secure mode.setAttributes
(Map<String, String> attributes) Additional attributes to be set on the connector.setEnabled
(boolean enabled) Enable a separate port for the embedded container for HTTP access.setPort
(int port) The HTTP port to use.setProtocol
(String protocol) HTTP protocol to use.setRedirectPort
(int redirectPort) If this Connector is supporting non-SSL requests, this will automatically redirect the request to the port number specified here.Scheme used for the connector.setSecure
(boolean secure) Whether connector should run in secure mode.
-
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
HTTP protocol to use. -
getScheme
Scheme used for the connector. -
isSecure
public boolean isSecure()Whether connector should run in secure mode. -
getAttributes
Additional attributes to be set on the connector. -
setEnabled
Enable a separate port for the embedded container for HTTP access.- Returns:
this
.
-
setPort
The HTTP port to use.- Returns:
this
.
-
setRedirectPort
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
HTTP protocol to use.- Returns:
this
.
-
setScheme
Scheme used for the connector.- Returns:
this
.
-
setSecure
Whether connector should run in secure mode.- Returns:
this
.
-
setAttributes
Additional attributes to be set on the connector.- Returns:
this
.
-