@Generated(value="org.jsonschema2pojo") public class HstsBean extends Object
Enforce transport security when using HTTP to mitigate a range of common web vulnerabilities.
| Constructor and Description |
|---|
HstsBean() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Boolean |
getEnabled()
Enable HTTP Strict Transport (HSTS)
|
String |
getHeaderValue() |
Boolean |
getIncludeSubdomains()
Include Subdomains
|
Integer |
getMaxAge()
Maximum Age
|
Boolean |
getPreload()
Enable HSTS Preload Flag
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setEnabled(Boolean enabled)
Enable HTTP Strict Transport (HSTS)
|
void |
setIncludeSubdomains(Boolean includeSubdomains)
Include Subdomains
|
void |
setMaxAge(Integer maxAge)
Maximum Age
|
void |
setPreload(Boolean preload)
Enable HSTS Preload Flag
|
String |
toString() |
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
enabled - The enabledpublic Boolean getIncludeSubdomains()
public void setIncludeSubdomains(Boolean includeSubdomains)
includeSubdomains - The includeSubdomainspublic Integer getMaxAge()
Delta seconds user agents should cache HSTS status for.
public void setMaxAge(Integer maxAge)
Delta seconds user agents should cache HSTS status for.
maxAge - The maxAgepublic Boolean getPreload()
Flag to verify HSTS preload status. Popular browsers contain a hard-coded (pinned) list of domains and certificates, which they always connect securely with. This mitigates a wide range of identity and MIITM attacks, and is particularly useful for high-profile domains. Users must submit a request for their domain to be included in the scheme.
public void setPreload(Boolean preload)
Flag to verify HSTS preload status. Popular browsers contain a hard-coded (pinned) list of domains and certificates, which they always connect securely with. This mitigates a wide range of identity and MIITM attacks, and is particularly useful for high-profile domains. Users must submit a request for their domain to be included in the scheme.
preload - The preloadpublic String getHeaderValue()
Copyright © 2014–2020 JBoss, a division of Red Hat. All rights reserved.