Hi,
I tried to create a simple as possible application with spring security.
I have 3 html pages (secured.html,unsecured.html,and accessdenied.html - which I all put outside and same level of WEB-INF), and an xml to specify the security (springSecurity.xml at WEB-INF folder).
Functionality: I have one secured page (secured.html), which requires the specified role mentioned in springSecurity.xml. All implementations used are from spring (voters, authentication manager, etc.). In-memory dao authentication is used.
I am getting the error:
=======
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '' is defined
=======
The entire error dump, and my spring and web.xml are below (the hmtls i made are simple htmls with one liners only).
(I am deploying on
jboss 4.2.3. Some chunks of codes I used are from Spring in Action book.)
I will really appreciate any ideas.
The web.xml:
The springSecurity.xml:
The error dump: