@Generated(value="org.jsonschema2pojo") public class HttpSecurityBean extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpSecurityBean.FrameOptions |
static class |
HttpSecurityBean.XssProtection |
| Constructor and Description |
|---|
HttpSecurityBean() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
ContentSecurityPolicyBean |
getContentSecurityPolicy()
Content Security Policy
|
Boolean |
getContentTypeOptions()
Content Type Options
|
HttpSecurityBean.FrameOptions |
getFrameOptions()
Frame Options
|
HstsBean |
getHsts()
HTTP Strict Transport Security
|
HttpSecurityBean.XssProtection |
getXssProtection()
XSS Protection
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setContentSecurityPolicy(ContentSecurityPolicyBean contentSecurityPolicy)
Content Security Policy
|
void |
setContentTypeOptions(Boolean contentTypeOptions)
Content Type Options
|
void |
setFrameOptions(HttpSecurityBean.FrameOptions frameOptions)
Frame Options
|
void |
setHsts(HstsBean hsts)
HTTP Strict Transport Security
|
void |
setXssProtection(HttpSecurityBean.XssProtection xssProtection)
XSS Protection
|
String |
toString() |
public HstsBean getHsts()
Enforce transport security when using HTTP to mitigate a range of common web vulnerabilities.
public void setHsts(HstsBean hsts)
Enforce transport security when using HTTP to mitigate a range of common web vulnerabilities.
hsts - The hstspublic ContentSecurityPolicyBean getContentSecurityPolicy()
A sophisticated mechanism to precisely define the types and sources of content that may be loaded, with violation reporting and the ability to restrict the availability and scope of many security-sensitive features.
public void setContentSecurityPolicy(ContentSecurityPolicyBean contentSecurityPolicy)
A sophisticated mechanism to precisely define the types and sources of content that may be loaded, with violation reporting and the ability to restrict the availability and scope of many security-sensitive features.
contentSecurityPolicy - The contentSecurityPolicypublic HttpSecurityBean.FrameOptions getFrameOptions()
Defines if, or how, a resource should be displayed in a frame, iframe or object.
public void setFrameOptions(HttpSecurityBean.FrameOptions frameOptions)
Defines if, or how, a resource should be displayed in a frame, iframe or object.
frameOptions - The frameOptionspublic HttpSecurityBean.XssProtection getXssProtection()
Enable or disable XSS filtering in the UA.
public void setXssProtection(HttpSecurityBean.XssProtection xssProtection)
Enable or disable XSS filtering in the UA.
xssProtection - The xssProtectionpublic Boolean getContentTypeOptions()
X-Content-Type-Options: Prevent MIME-sniffing to any type other than the declared Content-Type.
public void setContentTypeOptions(Boolean contentTypeOptions)
X-Content-Type-Options: Prevent MIME-sniffing to any type other than the declared Content-Type.
contentTypeOptions - The contentTypeOptionsCopyright © 2014–2018 JBoss, a division of Red Hat. All rights reserved.