Class IPFilter
java.lang.Object
org.elasticsearch.xpack.security.transport.filter.IPFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.common.settings.Setting<Boolean>static final SecurityIpFilterRulestatic final String.http has been chosen for handling HTTP filters, which are not part of the profiles The profiles are only handled for the transport protocol, so we need an own kind of profile for HTTP.static final org.elasticsearch.common.settings.Setting<Boolean>static final org.elasticsearch.common.settings.Setting<Boolean> -
Constructor Summary
ConstructorsConstructorDescriptionIPFilter(org.elasticsearch.common.settings.Settings settings, AuditTrailService auditTrailService, org.elasticsearch.common.settings.ClusterSettings clusterSettings, org.elasticsearch.license.XPackLicenseState licenseState) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(String profile, InetSocketAddress peerAddress) static voidaddSettings(List<org.elasticsearch.common.settings.Setting<?>> settings) voidsetBoundHttpTransportAddress(org.elasticsearch.common.transport.BoundTransportAddress boundHttpTransportAddress) voidsetBoundTransportAddress(org.elasticsearch.common.transport.BoundTransportAddress boundTransportAddress, Map<String, org.elasticsearch.common.transport.BoundTransportAddress> profileBoundAddress)
-
Field Details
-
HTTP_PROFILE_NAME
.http has been chosen for handling HTTP filters, which are not part of the profiles The profiles are only handled for the transport protocol, so we need an own kind of profile for HTTP. This name starts withs a dot, because no profile name can ever start like that due to how we handle settings- See Also:
-
ALLOW_BOUND_ADDRESSES_SETTING
public static final org.elasticsearch.common.settings.Setting<Boolean> ALLOW_BOUND_ADDRESSES_SETTING -
IP_FILTER_ENABLED_HTTP_SETTING
public static final org.elasticsearch.common.settings.Setting<Boolean> IP_FILTER_ENABLED_HTTP_SETTING -
IP_FILTER_ENABLED_SETTING
-
TRANSPORT_FILTER_ALLOW_SETTING
-
TRANSPORT_FILTER_DENY_SETTING
-
PROFILE_FILTER_DENY_SETTING
-
PROFILE_FILTER_ALLOW_SETTING
-
HTTP_FILTER_ALLOW_SETTING
-
HTTP_FILTER_DENY_SETTING
-
DISABLED_USAGE_STATS
-
DEFAULT_PROFILE_ACCEPT_ALL
-
-
Constructor Details
-
IPFilter
public IPFilter(org.elasticsearch.common.settings.Settings settings, AuditTrailService auditTrailService, org.elasticsearch.common.settings.ClusterSettings clusterSettings, org.elasticsearch.license.XPackLicenseState licenseState)
-
-
Method Details
-
usageStats
-
accept
-
setBoundTransportAddress
-
setBoundHttpTransportAddress
public void setBoundHttpTransportAddress(org.elasticsearch.common.transport.BoundTransportAddress boundHttpTransportAddress) -
addSettings
-