public class SpelDnValueMutator extends Object implements DnValueMutator
Modifier and Type | Field and Description |
---|---|
private org.springframework.expression.EvaluationContext |
evaluationContext
Evaluation context.
|
private org.springframework.expression.Expression |
expression
SPEL expression to access the DN.
|
protected Logger |
logger
Logger for this class.
|
Constructor and Description |
---|
SpelDnValueMutator(org.springframework.expression.Expression exp,
org.springframework.expression.EvaluationContext context)
Creates a new spel dn value mutator.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue(Object object)
Returns the DN value for the supplied object.
|
void |
setValue(Object object,
String value)
Set the DN value for the supplied object.
|
String |
toString() |
protected final Logger logger
private final org.springframework.expression.Expression expression
private final org.springframework.expression.EvaluationContext evaluationContext
public SpelDnValueMutator(org.springframework.expression.Expression exp, org.springframework.expression.EvaluationContext context)
exp
- to access the DNcontext
- containing the DNpublic String getValue(Object object)
DnValueMutator
getValue
in interface DnValueMutator
object
- to return the DN ofpublic void setValue(Object object, String value)
DnValueMutator
setValue
in interface DnValueMutator
object
- to set the DN onvalue
- of the DNCopyright © 2003-2019 Virginia Tech. All Rights Reserved.