Module pro.verron.officestamper
Package org.wickedsource.docxstamper.el
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureEvaluationContext(org.springframework.expression.spel.support.StandardEvaluationContext context) Configure the context before it's used by docxstamper.
-
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:
configureEvaluationContextin interfaceEvaluationContextConfigurer- Parameters:
context- the SPEL eval context, not null
-