Spring Security Framework

org.springframework.security.config
Class MethodSecurityInterceptorPostProcessor

java.lang.Object
  extended by org.springframework.security.config.MethodSecurityInterceptorPostProcessor
All Implemented Interfaces:
BeanFactoryAware, BeanPostProcessor

public class MethodSecurityInterceptorPostProcessor
extends Object
implements BeanPostProcessor, BeanFactoryAware

BeanPostProcessor which sets the AfterInvocationManager on the default MethodSecurityInterceptor, if one has been configured.

Version:
$Id$
Author:
Luke Taylor

Constructor Summary
MethodSecurityInterceptorPostProcessor()
           
 
Method Summary
 Object postProcessAfterInitialization(Object bean, String beanName)
           
 Object postProcessBeforeInitialization(Object bean, String beanName)
           
 void setBeanFactory(BeanFactory beanFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodSecurityInterceptorPostProcessor

public MethodSecurityInterceptorPostProcessor()
Method Detail

postProcessBeforeInitialization

public Object postProcessBeforeInitialization(Object bean,
                                              String beanName)
                                       throws BeansException
Specified by:
postProcessBeforeInitialization in interface BeanPostProcessor
Throws:
BeansException

postProcessAfterInitialization

public Object postProcessAfterInitialization(Object bean,
                                             String beanName)
Specified by:
postProcessAfterInitialization in interface BeanPostProcessor

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
                    throws BeansException
Specified by:
setBeanFactory in interface BeanFactoryAware
Throws:
BeansException

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.