Spring Security Framework

org.springframework.security.config
Class UserDetailsServiceInjectionBeanPostProcessor

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

public class UserDetailsServiceInjectionBeanPostProcessor
extends Object
implements BeanPostProcessor, BeanFactoryAware

Registered by HttpSecurityBeanDefinitionParser to inject a UserDetailsService into the X509Provider, RememberMeServices and OpenIDAuthenticationProvider instances created by the namespace.

Since:
2.0.2
Author:
Luke Taylor

Constructor Summary
UserDetailsServiceInjectionBeanPostProcessor()
           
 
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

UserDetailsServiceInjectionBeanPostProcessor

public UserDetailsServiceInjectionBeanPostProcessor()
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)
                                      throws BeansException
Specified by:
postProcessAfterInitialization in interface BeanPostProcessor
Throws:
BeansException

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.