Class MethodInvocationPrivilegeEvaluator
java.lang.Object
org.springframework.security.access.intercept.MethodInvocationPrivilegeEvaluator
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
@Deprecated
public class MethodInvocationPrivilegeEvaluator
extends Object
implements org.springframework.beans.factory.InitializingBean
Deprecated.
Allows users to determine whether they have "before invocation" privileges for a given
 method invocation.
 
 Of course, if an
 AfterInvocationManager is used to
 authorize the result of a method invocation, this class cannot assist
 determine whether or not the AfterInvocationManager will enable access.
 Instead this class aims to allow applications to determine whether or not the current
 principal would be allowed to at least attempt to invoke the method, irrespective of
 the "after" invocation handling.
 
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final org.apache.commons.logging.LogDeprecated.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidDeprecated.booleanisAllowed(org.aopalliance.intercept.MethodInvocation invocation, Authentication authentication) Deprecated.voidsetSecurityInterceptor(AbstractSecurityInterceptor securityInterceptor) Deprecated.
- 
Field Details- 
loggerprotected static final org.apache.commons.logging.Log loggerDeprecated.
 
- 
- 
Constructor Details- 
MethodInvocationPrivilegeEvaluatorpublic MethodInvocationPrivilegeEvaluator()Deprecated.
 
- 
- 
Method Details- 
afterPropertiesSetpublic void afterPropertiesSet()Deprecated.- Specified by:
- afterPropertiesSetin interface- org.springframework.beans.factory.InitializingBean
 
- 
isAllowedpublic boolean isAllowed(org.aopalliance.intercept.MethodInvocation invocation, Authentication authentication) Deprecated.
- 
setSecurityInterceptorDeprecated.
 
- 
AuthorizationManagerinstead