Class ContextSourceSettingPostProcessor
- java.lang.Object
-
- org.springframework.security.config.ldap.ContextSourceSettingPostProcessor
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
,org.springframework.core.Ordered
public class ContextSourceSettingPostProcessor extends java.lang.Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered
Checks for the presence of a ContextSource instance. Also supplies the standard reference to any unconfigured <ldap-authentication-provider> or <ldap-user-service> beans. This is necessary in cases where the user has given the server a specific Id, but hasn't used the server-ref attribute to link this to the other ldap definitions. See SEC-799.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOrder()
void
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory bf)
void
setDefaultNameRequired(boolean defaultNameRequired)
-
-
-
Method Detail
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory bf) throws org.springframework.beans.BeansException
- Specified by:
postProcessBeanFactory
in interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor
- Throws:
org.springframework.beans.BeansException
-
setDefaultNameRequired
public void setDefaultNameRequired(boolean defaultNameRequired)
-
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
-