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.MethodBeforeAdvice
method
- args
- target
- Throwable
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.