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
  • Constructor Details

  • Method Details

    • setOrder

      public void setOrder(int order)
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • before

      public void before(Method method, Object[] args, Object target) throws Throwable
      Specified by:
      before in interface org.springframework.aop.MethodBeforeAdvice
      Throws:
      Throwable