Class CasEmbeddedApacheTomcatRemoteAddressProperties

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

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

    • CasEmbeddedApacheTomcatRemoteAddressProperties

      public CasEmbeddedApacheTomcatRemoteAddressProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Enable filter.
    • getAllowedClientIpAddressRegex

      public String getAllowedClientIpAddressRegex()
      A regular expression (using java.util.regex) that the remote client's IP address is compared to. If this attribute is specified, the remote address MUST match for this request to be accepted. If this attribute is not specified, all requests will be accepted UNLESS the remote address matches a deny pattern.
    • getDeniedClientIpAddressRegex

      public String getDeniedClientIpAddressRegex()
      A regular expression (using java.util.regex) that the remote client's IP address is compared to. If this attribute is specified, the remote address MUST NOT match for this request to be accepted. If this attribute is not specified, request acceptance is governed solely by the accept attribute.
    • setEnabled

      public CasEmbeddedApacheTomcatRemoteAddressProperties setEnabled(boolean enabled)
      Enable filter.
      Returns:
      this.
    • setAllowedClientIpAddressRegex

      public CasEmbeddedApacheTomcatRemoteAddressProperties setAllowedClientIpAddressRegex(String allowedClientIpAddressRegex)
      A regular expression (using java.util.regex) that the remote client's IP address is compared to. If this attribute is specified, the remote address MUST match for this request to be accepted. If this attribute is not specified, all requests will be accepted UNLESS the remote address matches a deny pattern.
      Returns:
      this.
    • setDeniedClientIpAddressRegex

      public CasEmbeddedApacheTomcatRemoteAddressProperties setDeniedClientIpAddressRegex(String deniedClientIpAddressRegex)
      A regular expression (using java.util.regex) that the remote client's IP address is compared to. If this attribute is specified, the remote address MUST NOT match for this request to be accepted. If this attribute is not specified, request acceptance is governed solely by the accept attribute.
      Returns:
      this.