Package swiss.trustbroker.config.dto
Class FrameOptionsPolicies
java.lang.Object
swiss.trustbroker.config.dto.FrameOptionsPolicies
HTTP Frame Options configuration.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFrameOptionsPolicies(String fallback, String oidc) Creates a newFrameOptionsPoliciesinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanNo further differentiation here as the FE, API, and SAML URLs are used together.getOidc()/app/device and other api services might run in an application iframe so switch from deny to same origin.inthashCode()voidsetFallback(String fallback) No further differentiation here as the FE, API, and SAML URLs are used together.void/app/device and other api services might run in an application iframe so switch from deny to same origin.toString()
-
Field Details
-
DEFAULT_FRAME_OPTIONS
- See Also:
-
-
Constructor Details
-
FrameOptionsPolicies
public FrameOptionsPolicies() -
FrameOptionsPolicies
Creates a newFrameOptionsPoliciesinstance.- Parameters:
fallback- No further differentiation here as the FE, API, and SAML URLs are used together.
Default: SAMEORIGINoidc- /app/device and other api services might run in an application iframe so switch from deny to same origin. Does not work on: Redirects (DENY default applies there still). We make sure in OidcTxResponseWrapper to set SAMEORIGIN instead of DENY just in case.
Default: SAMEORIGIN
-
-
Method Details
-
builder
-
getFallback
No further differentiation here as the FE, API, and SAML URLs are used together.
Default: SAMEORIGIN -
getOidc
/app/device and other api services might run in an application iframe so switch from deny to same origin. Does not work on: Redirects (DENY default applies there still). We make sure in OidcTxResponseWrapper to set SAMEORIGIN instead of DENY just in case.
Default: SAMEORIGIN -
setFallback
No further differentiation here as the FE, API, and SAML URLs are used together.
Default: SAMEORIGIN -
setOidc
/app/device and other api services might run in an application iframe so switch from deny to same origin. Does not work on: Redirects (DENY default applies there still). We make sure in OidcTxResponseWrapper to set SAMEORIGIN instead of DENY just in case.
Default: SAMEORIGIN -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-