Package org.keycloak.headers
Class DefaultSecurityHeadersOptions
- java.lang.Object
-
- org.keycloak.headers.DefaultSecurityHeadersOptions
-
- All Implemented Interfaces:
SecurityHeadersOptions
public class DefaultSecurityHeadersOptions extends Object implements SecurityHeadersOptions
-
-
Constructor Summary
Constructors Constructor Description DefaultSecurityHeadersOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityHeadersOptions
allowAnyFrameAncestor()
SecurityHeadersOptions
allowEmptyContentType()
SecurityHeadersOptions
allowFrameSrc(String source)
boolean
isAllowEmptyContentType()
SecurityHeadersOptions
skipHeaders()
-
-
-
Method Detail
-
allowFrameSrc
public SecurityHeadersOptions allowFrameSrc(String source)
- Specified by:
allowFrameSrc
in interfaceSecurityHeadersOptions
-
allowAnyFrameAncestor
public SecurityHeadersOptions allowAnyFrameAncestor()
- Specified by:
allowAnyFrameAncestor
in interfaceSecurityHeadersOptions
-
skipHeaders
public SecurityHeadersOptions skipHeaders()
- Specified by:
skipHeaders
in interfaceSecurityHeadersOptions
-
allowEmptyContentType
public SecurityHeadersOptions allowEmptyContentType()
- Specified by:
allowEmptyContentType
in interfaceSecurityHeadersOptions
-
isAllowEmptyContentType
public boolean isAllowEmptyContentType()
-
-