public class AuthorizationAdvice
extends java.lang.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(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.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(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object target) throws java.lang.Throwable
before
in interface org.springframework.aop.MethodBeforeAdvice
method
- args
- target
- java.lang.Throwable
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.