Class AuthorizationServerProperties.ContentSecurityPolicyProperties
- java.lang.Object
-
- com.broadleafcommerce.auth.user.autoconfigure.AuthorizationServerProperties.ContentSecurityPolicyProperties
-
- Enclosing class:
- AuthorizationServerProperties
public static class AuthorizationServerProperties.ContentSecurityPolicyProperties extends Object
Properties configuring the behavior ofContentSecurityPolicyConfigurer
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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 Summary
Constructors Constructor Description ContentSecurityPolicyProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
getDefaultSrc
public AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue getDefaultSrc()
-
getBaseUri
public AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue getBaseUri()
-
setEnabled
public void setEnabled(boolean enabled)
-
setDefaultSrc
public void setDefaultSrc(AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue defaultSrc)
-
setBaseUri
public void setBaseUri(AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue baseUri)
-
canEqual
protected boolean canEqual(Object other)
-
-