|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MethodSecurityExpressionHandler
Extended expression-handler facade which adds methods which are specific to securing method invocations.
| Method Summary | |
|---|---|
Object |
filter(Object filterTarget,
Expression filterExpression,
EvaluationContext ctx)
Filters a target collection or array. |
void |
setReturnObject(Object returnObject,
EvaluationContext ctx)
Used to inform the expression system of the return object for the given evaluation context. |
| Methods inherited from interface org.springframework.security.access.expression.SecurityExpressionHandler |
|---|
createEvaluationContext, getExpressionParser |
| Method Detail |
|---|
Object filter(Object filterTarget,
Expression filterExpression,
EvaluationContext ctx)
filterTarget - the array or collection to be filtered.filterExpression - the expression which should be used as the filter condition. If it returns false on
evaluation, the object will be removed from the returned collectionctx - the current evaluation context (as created through a call to
SecurityExpressionHandler.createEvaluationContext(org.springframework.security.core.Authentication, Object)
void setReturnObject(Object returnObject,
EvaluationContext ctx)
returnObject - the return object valuectx - the context within which the object should be set (as created through a call to
SecurityExpressionHandler.createEvaluationContext(org.springframework.security.core.Authentication, Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||