SEC-864: Removed duplicate OpenID provider.
This commit is contained in:
parent
c34eb497c8
commit
9308284bd4
|
@ -389,9 +389,8 @@ public class HttpSecurityBeanDefinitionParser implements BeanDefinitionParser {
|
||||||
}
|
}
|
||||||
|
|
||||||
BeanDefinition openIDProvider = openIDProviderBuilder.getBeanDefinition();
|
BeanDefinition openIDProvider = openIDProviderBuilder.getBeanDefinition();
|
||||||
ConfigUtils.getRegisteredProviders(pc).add(openIDProvider);
|
|
||||||
|
|
||||||
pc.getRegistry().registerBeanDefinition(BeanIds.OPEN_ID_PROVIDER, openIDProvider);
|
pc.getRegistry().registerBeanDefinition(BeanIds.OPEN_ID_PROVIDER, openIDProvider);
|
||||||
|
ConfigUtils.getRegisteredProviders(pc).add(new RuntimeBeanReference(BeanIds.OPEN_ID_PROVIDER));
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean needLoginPage = false;
|
boolean needLoginPage = false;
|
||||||
|
|
Loading…
Reference in New Issue