org.springframework.security.config.http
Class UserDetailsServiceInjectionBeanPostProcessor

java.lang.Object
  extended by org.springframework.security.config.http.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(String x509ProviderId, String rememberMeServicesId, String openIDProviderId)
           
 
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(String x509ProviderId,
                                                    String rememberMeServicesId,
                                                    String openIDProviderId)
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


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