public class AuthorizationAdvice extends Object implements org.springframework.aop.MethodBeforeAdvice
| 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.
|
public void before(Method method, Object[] args, Object target) throws Throwable
before in interface org.springframework.aop.MethodBeforeAdvicemethod - args - target - Throwable - Should notify listeners about checked privilegesCopyright © 2024 OpenMRS Inc.. All rights reserved.