public class AuthorizationAdvice extends Object implements org.springframework.aop.MethodBeforeAdvice
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log
Logger for this class and subclasses
|
| Constructor and Description |
|---|
AuthorizationAdvice() |
| Modifier and Type | Method and Description |
|---|---|
void |
before(Method method,
Object[] args,
Object target)
Allows us to check whether a user is authorized to access a particular method.
|
protected final org.apache.commons.logging.Log log
public void before(Method method, Object[] args, Object target) throws Throwable
before in interface org.springframework.aop.MethodBeforeAdvicemethod - args - target - ThrowableCopyright © 2018 OpenMRS LLC.. All Rights Reserved.