Class SecurityAdvice

java.lang.Object
org.duracloud.duradmin.security.SecurityAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.springframework.aop.BeforeAdvice, org.springframework.aop.MethodBeforeAdvice

public class SecurityAdvice extends Object implements org.springframework.aop.MethodBeforeAdvice
This class wraps calls to securable objects and logs them in if there is a valid credential in the security context. Otherwise, it logs the object out.
Author:
Andrew Woods Date: Mar 28, 2010
  • Constructor Details

  • Method Details

    • before

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