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 Details

    • DirectiveValue

      public DirectiveValue(String value)
    • DirectiveValue

      public DirectiveValue()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • getValue

      @Nullable public String getValue()
    • setEnabled

      public void setEnabled(boolean enabled)
    • setValue

      public void setValue(@Nullable String value)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object