Package org.craftercms.security.aop
Class RunIfSecurityEnabledAspect
java.lang.Object
org.craftercms.security.aop.RunIfSecurityEnabledAspect
- All Implemented Interfaces:
SecurityEnabledAware
Aspect that handles the
RunIfSecurityEnabled
annotation- Author:
- Alfonso Vásquez
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrunIfSecurityEnabled
(org.aspectj.lang.ProceedingJoinPoint pjp) void
setSecurityEnabled
(boolean securityEnabled)
-
Constructor Details
-
RunIfSecurityEnabledAspect
public RunIfSecurityEnabledAspect()
-
-
Method Details
-
setSecurityEnabled
public void setSecurityEnabled(boolean securityEnabled) - Specified by:
setSecurityEnabled
in interfaceSecurityEnabledAware
-
runIfSecurityEnabled
- Throws:
Throwable
-