Class DefaultEvaluationContextConfigurer

java.lang.Object
org.wickedsource.docxstamper.el.DefaultEvaluationContextConfigurer
All Implemented Interfaces:
EvaluationContextConfigurer, EvaluationContextConfigurer

public class DefaultEvaluationContextConfigurer extends Object implements EvaluationContextConfigurer
EvaluationContextConfigurer that has better default security, especially doesn't allow especially known injections.
Since:
1.6.5
Version:
${version}
Author:
Joseph Verron
  • Constructor Details

    • DefaultEvaluationContextConfigurer

      public DefaultEvaluationContextConfigurer()
  • Method Details

    • configureEvaluationContext

      public void configureEvaluationContext(org.springframework.expression.spel.support.StandardEvaluationContext context)
      Configure the context before it's used by docxstamper.
      Specified by:
      configureEvaluationContext in interface EvaluationContextConfigurer
      Parameters:
      context - the SPEL eval context, not null