Hi all,
I try to configure spring security. I followed the recommendation
in[url]http://wiki.magnolia-cms.com/display/WIKI/Using+Spring+Security+with+Magnolia+and+Blossom[/url]
and inserted the filter in web.xml:
[code]<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>info.magnolia.module.blossom.web.InstallationAwareDelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping> [/code]
and inserted the spring configuration in my module.xml:
[code]<servlets>
<servlet>
<name>xxx</name>
<class>info.magnolia.module.blossom.web.InstallationAwareDispatcherServlet</class>
<mappings>
<mapping>*.do</mapping>
</mappings>
<params>
<param>
<name>contextConfigLocation</name>
<value>/WEB-INF/classes/security.xml</value>
</param>
</params>
</servlet>
</servlets>
[/code]
But I always get a
[code]org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'springSecurityFilterChain' is defined[/code]
So, I guess I am missing some main part.
The security.xml is never read.
Is there some extra Listener to be configured?
Thanks, Heike
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=bbe5cc24-fa3d-4ecd-9a50-85e3776a2317
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------