public static class AuthorizationServerProperties.ContentSecurityPolicyProperties extends Object
ContentSecurityPolicyConfigurer
.Modifier and Type | Class and Description |
---|---|
static class |
AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue
Represents the configuration for a particular 'directive' (ex: should 'default-src' be
provided, and what should its value be?).
|
Constructor and Description |
---|
ContentSecurityPolicyProperties() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<String> |
getAdditionalDirectives() |
AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue |
getBaseUri() |
AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue |
getDefaultSrc() |
int |
hashCode() |
boolean |
isEnabled() |
void |
setAdditionalDirectives(List<String> additionalDirectives) |
void |
setBaseUri(AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue baseUri) |
void |
setDefaultSrc(AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue defaultSrc) |
void |
setEnabled(boolean enabled) |
String |
toString() |
public boolean isEnabled()
public AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue getDefaultSrc()
public AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue getBaseUri()
public void setEnabled(boolean enabled)
public void setDefaultSrc(AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue defaultSrc)
public void setBaseUri(AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue baseUri)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.