org.duracloud.duradmin.security
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityAdvice
public SecurityAdvice(SecurityContextUtil util)
before
public void before(Method method,
Object[] objects,
Object o)
throws Throwable
- Specified by:
before
in interface org.springframework.aop.MethodBeforeAdvice
- Throws:
Throwable
Copyright © 2009-2011 DuraSpace. All Rights Reserved.