java.lang.Object |
↳ |
org.springframework.security.access.intercept.MethodInvocationPrivilegeEvaluator |
Class Overview
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.
Summary
Fields |
protected
static
final
Log |
logger |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.springframework.beans.factory.InitializingBean
abstract
void
|
afterPropertiesSet()
|
|
Fields
protected
static
final
Log
logger
Public Constructors
public
MethodInvocationPrivilegeEvaluator
()
Public Methods
public
void
afterPropertiesSet
()
public
boolean
isAllowed
(MethodInvocation mi, Authentication authentication)