org.springframework.security.config.http
Class UserDetailsServiceInjectionBeanPostProcessor

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

public class UserDetailsServiceInjectionBeanPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware

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

Since:
2.0.2

Constructor Summary
UserDetailsServiceInjectionBeanPostProcessor(java.lang.String x509ProviderId, java.lang.String rememberMeServicesId, java.lang.String openIDProviderId)
           
 
Method Summary
 java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName)
           
 java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName)
           
 void setBeanFactory(org.springframework.beans.factory.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(java.lang.String x509ProviderId,
                                                    java.lang.String rememberMeServicesId,
                                                    java.lang.String openIDProviderId)
Method Detail

postProcessBeforeInitialization

public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
                                                        java.lang.String beanName)
                                                 throws org.springframework.beans.BeansException
Specified by:
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException

postProcessAfterInitialization

public java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
                                                       java.lang.String beanName)
                                                throws org.springframework.beans.BeansException
Specified by:
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException