Class PrePostTemplateDefaults

java.lang.Object
org.springframework.security.authorization.method.PrePostTemplateDefaults

public final class PrePostTemplateDefaults extends Object
A component for configuring various cross-cutting aspects of pre/post method security
Since:
6.3
See Also:
  • Constructor Details

    • PrePostTemplateDefaults

      public PrePostTemplateDefaults()
  • Method Details

    • isIgnoreUnknown

      public boolean isIgnoreUnknown()
      Whether template resolution should ignore placeholders it doesn't recognize.

      By default, this value is true.

      Since:
      6.3
    • setIgnoreUnknown

      public void setIgnoreUnknown(boolean ignoreUnknown)
      Configure template resolution to ignore unknown placeholders. When set to false, template resolution will throw an exception for unknown placeholders.

      By default, this value is true.

      Parameters:
      ignoreUnknown - - whether to ignore unknown placeholders parameters
      Since:
      6.3