Package org.duracloud.durastore.aop
Class StreamingAccessAdvice
java.lang.Object
org.duracloud.durastore.aop.StreamingAccessAdvice
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.springframework.aop.BeforeAdvice,org.springframework.aop.MethodBeforeAdvice,org.springframework.core.Ordered
public class StreamingAccessAdvice
extends Object
implements org.springframework.aop.MethodBeforeAdvice, org.springframework.core.Ordered
Verifies that the caller is authorized to make call to stream content.
See durastore/src/main/webapp/WEB-INF/config/aop-config.xml for
pointcut matching pattern. This pointcut is designed intercept calls to TaskProvider
instances.
- Author:
- Daniel Bernstein Date: 12/07/2015
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StreamingAccessAdvice
-
-
Method Details
-
setOrder
public void setOrder(int order) -
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
before
- Specified by:
beforein interfaceorg.springframework.aop.MethodBeforeAdvice- Throws:
Throwable
-