Class NrichCsrfProperties

java.lang.Object
net.croz.nrich.security.csrf.properties.NrichCsrfProperties

@ConfigurationProperties("nrich.security.csrf") public class NrichCsrfProperties extends Object
  • Constructor Details

    • NrichCsrfProperties

      public NrichCsrfProperties(@DefaultValue("true") boolean active, @DefaultValue("35m") Duration tokenExpirationInterval, @DefaultValue("1m") Duration tokenFutureThreshold, @DefaultValue("X-CSRF-Token") String tokenKeyName, @DefaultValue("128") Integer cryptoKeyLength, String initialTokenUrl, @DefaultValue("/nrich/csrf/ping") String csrfPingUri, List<net.croz.nrich.security.csrf.core.model.CsrfExcludeConfig> csrfExcludeConfigList)