Class SecurityCsrfProperties

java.lang.Object
com.totvs.tjf.autoconfigure.SecurityCsrfProperties
Direct Known Subclasses:
SecurityCsrfPropertiesDeprecated

@Configuration @ConfigurationProperties(prefix="tjf.security.csrf") @ConditionalOnExpression("environment.getProperty(\'tjf.security.csrf.enable\') != null || environment.getProperty(\'tjf.security.csrf.disable-for-paths[0]\') != null") public class SecurityCsrfProperties extends Object
Security access properties.
  • Constructor Details

    • SecurityCsrfProperties

      public SecurityCsrfProperties()
  • Method Details

    • isEnable

      public boolean isEnable()
      Returns:
      the enable
    • setEnable

      @Generated public void setEnable(boolean enable)
      Parameters:
      enable - the enable to set
    • getDisableForPaths

      public String[] getDisableForPaths()
      Returns:
      the disable for paths
    • setDisableForPaths

      @Generated public void setDisableForPaths(String[] disableForPaths)
      Parameters:
      disableForPaths - the disable for paths to set
    • hasDisableForPaths

      public boolean hasDisableForPaths()
      Returns:
      the has disable for paths