@ConfigurationProperties(value="spring.cloud.gateway.filter.secure-headers") public class SecureHeadersProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_SECURITY_POLICY_HEADER_DEFAULT
Content-Security Policy header default.
|
static String |
REFERRER_POLICY_HEADER_DEFAULT
Referrer Policy header default.
|
static String |
STRICT_TRANSPORT_SECURITY_HEADER_DEFAULT
Strict transport security header default.
|
static String |
X_CONTENT_TYPE_OPTIONS_HEADER_DEFAULT
Content-Type Options header default.
|
static String |
X_DOWNLOAD_OPTIONS_HEADER_DEFAULT
Download Options header default.
|
static String |
X_FRAME_OPTIONS_HEADER_DEFAULT
Frame Options header default.
|
static String |
X_PERMITTED_CROSS_DOMAIN_POLICIES_HEADER_DEFAULT
Permitted Cross-Domain Policies header default.
|
static String |
X_XSS_PROTECTION_HEADER_DEFAULT
Xss-Protection header default.
|
Constructor and Description |
---|
SecureHeadersProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getContentSecurityPolicy() |
String |
getContentTypeOptions() |
List<String> |
getDisable() |
String |
getDownloadOptions() |
String |
getFrameOptions() |
String |
getPermittedCrossDomainPolicies() |
String |
getReferrerPolicy() |
String |
getStrictTransportSecurity() |
String |
getXssProtectionHeader() |
void |
setContentSecurityPolicy(String contentSecurityPolicy) |
void |
setContentTypeOptions(String contentTypeOptions) |
void |
setDisable(List<String> disable) |
void |
setDownloadOptions(String downloadOptions) |
void |
setFrameOptions(String frameOptions) |
void |
setPermittedCrossDomainPolicies(String permittedCrossDomainPolicies) |
void |
setReferrerPolicy(String referrerPolicy) |
void |
setStrictTransportSecurity(String strictTransportSecurity) |
void |
setXssProtectionHeader(String xssProtectionHeader) |
String |
toString() |
public static final String X_XSS_PROTECTION_HEADER_DEFAULT
public static final String STRICT_TRANSPORT_SECURITY_HEADER_DEFAULT
public static final String X_FRAME_OPTIONS_HEADER_DEFAULT
public static final String X_CONTENT_TYPE_OPTIONS_HEADER_DEFAULT
public static final String REFERRER_POLICY_HEADER_DEFAULT
public static final String CONTENT_SECURITY_POLICY_HEADER_DEFAULT
public static final String X_DOWNLOAD_OPTIONS_HEADER_DEFAULT
public static final String X_PERMITTED_CROSS_DOMAIN_POLICIES_HEADER_DEFAULT
public String getXssProtectionHeader()
public void setXssProtectionHeader(String xssProtectionHeader)
public String getStrictTransportSecurity()
public void setStrictTransportSecurity(String strictTransportSecurity)
public String getFrameOptions()
public void setFrameOptions(String frameOptions)
public String getContentTypeOptions()
public void setContentTypeOptions(String contentTypeOptions)
public String getReferrerPolicy()
public void setReferrerPolicy(String referrerPolicy)
public String getContentSecurityPolicy()
public void setContentSecurityPolicy(String contentSecurityPolicy)
public String getDownloadOptions()
public void setDownloadOptions(String downloadOptions)
public String getPermittedCrossDomainPolicies()
public void setPermittedCrossDomainPolicies(String permittedCrossDomainPolicies)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.