Class AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue
java.lang.Object
com.broadleafcommerce.auth.user.autoconfigure.AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue
- Enclosing class:
- AuthorizationServerProperties.ContentSecurityPolicyProperties
public static class AuthorizationServerProperties.ContentSecurityPolicyProperties.DirectiveValue
extends Object
Represents the configuration for a particular 'directive' (ex: should 'default-src' be
provided, and what should its value be?).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetValue()If enabled, this should be the value to use for the directive.inthashCode()booleanWhether or not the directive should be supplied.voidsetEnabled(boolean enabled) Whether or not the directive should be supplied.voidIf enabled, this should be the value to use for the directive.toString()
-
Constructor Details
-
DirectiveValue
-
DirectiveValue
public DirectiveValue()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Whether or not the directive should be supplied. -
getValue
If enabled, this should be the value to use for the directive. -
setEnabled
public void setEnabled(boolean enabled) Whether or not the directive should be supplied. -
setValue
If enabled, this should be the value to use for the directive. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-