public class SpringExpressionPredicate extends Object implements com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext<?,?>>
| Modifier and Type | Field and Description |
|---|---|
private Object |
customObject
A custom object to inject into the expression context.
|
private Logger |
log
Class logger.
|
private String |
springExpression
SpEL expression to evaluate.
|
| Constructor and Description |
|---|
SpringExpressionPredicate(String expression)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(org.opensaml.profile.context.ProfileRequestContext<?,?> input) |
void |
setCustomObject(Object object)
Set a custom (externally provided) object.
|
public void setCustomObject(@Nullable Object object)
object - the custom objectpublic boolean apply(@Nullable org.opensaml.profile.context.ProfileRequestContext<?,?> input)
apply in interface com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext<?,?>>Copyright © 1999–2015. All rights reserved.