---------- Forwarded message ----------
From: Samuel Mutel <smutel.monitor...@gmail.com>
Date: 2014-12-05 9:14 GMT+01:00
Subject: spring-security.d and radius.xml configuration
To: General OpenNMS Discussion <opennms-disc...@lists.sourceforge.net>


Hello,

I try to update from opennms 1.12 to 14.0.1 and I have an issue with
spring-security.d.
I uncomment in applicationContext-spring-security.xml the line :
<authentication-provider ref="externalAuthenticationProvider" />.

In directory spring-security.d I copied file radius.xml.disabled to
radius.xml.
I change some parameters like IP address, password, etc ...

I launch command below:
xmllint --noout applicationContext-spring-security.xml
spring-security.d/*.xml
No output

I start OpenNMS and I have this error in web.log :

2014-12-04 14:50:20,051 ERROR [Main] o.s.w.c.ContextLoader: Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.springframework.security.filterChains': Cannot resolve
reference to bean
'org.springframework.security.web.DefaultSecurityFilterChain#0' while
setting bean property 'sourceList' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.springframework.security.web.DefaultSecurityFilterChain#0': Cannot
create inner bean '(inner bean)#477b1f5f' of type
[org.springframework.security.web.authentication.www.BasicAuthenticationFilter]
while setting constructor argument with key [1]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name '(inner bean)#477b1f5f': Cannot resolve reference to bean
'org.springframework.security.authentication.ProviderManager#0' while
setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.springframework.security.authentication.ProviderManager#0': Cannot
resolve reference to bean
'org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0'
while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0':
FactoryBean threw exception on object creation; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.springframework.security.authenticationManager': Cannot
resolve reference to bean 'externalAuthenticationProvider' while setting
constructor argument with key [1]; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'externalAuthenticationProvider' is defined

Thanks for your help.
Regards,
Samuel Mutel.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to