Class SecurityMethodBeforeAdvice

java.lang.Object
fr.becpg.repo.security.aop.SecurityMethodBeforeAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.springframework.aop.BeforeAdvice, org.springframework.aop.MethodBeforeAdvice

public class SecurityMethodBeforeAdvice extends Object implements org.springframework.aop.MethodBeforeAdvice

SecurityMethodBeforeAdvice class.

Version:
$Id: $Id
Author:
matthieu
  • Field Details

    • securityService

      private SecurityService securityService
    • namespaceService

      private org.alfresco.service.namespace.NamespaceService namespaceService
    • logger

      private static final org.apache.commons.logging.Log logger
  • Constructor Details

    • SecurityMethodBeforeAdvice

      public SecurityMethodBeforeAdvice()
  • Method Details

    • setSecurityService

      public void setSecurityService(SecurityService securityService)

      Setter for the field securityService.

      Parameters:
      securityService - a SecurityService object.
    • setNamespaceService

      public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)

      Setter for the field namespaceService.

      Parameters:
      namespaceService - a NamespaceService object.
    • before

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